fork한 곳에 push를 시도하였으나 The requested URL returned error: 403이라는 오류가 발생하여 push를 하지 못했다.
권한문제인 느낌이었지만 전에 협업을 하다가 실수로 팀원들의 자료를 날릴 뻔한 경험이 있어서 혹시 몰라 test용으로 브랜치를 생성한 다음에 push를 시도하였다. 당연하게도 여전히 같은 오류가 발생했다.
git branch 생성할브랜치이름
git checkout 작업변경할브랜치이름
$ git remote set-url origin https://<user-name>@github.com/<user-name>/<repository-name>.git<user-name> : github ID<repository-name> : repository nameremote: Support for password authentication was removed. Please use a personal access token instead.$ git config --global user.name "username" : github ID$ git config --global user.email "email@email.com" : GitHub에 설정 되어있는 email