0

I created a branch by doing

git checkout -b branchname

I then created some code, saved it, and then did

git add . git commit -m "message"

I then tried to do git push -u origin branchname

When I tried to push, it throws this error:

remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead. remote: Please see https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/ for more information. fatal: unable to access 'reponame': The requested URL returned error: 403

I havent switched back to master yet, but this has never happened until I tried to push to the new branch. Any particular reason this could be happening?

torek
  • 448,244
  • 59
  • 642
  • 775
Shooting Stars
  • 755
  • 1
  • 9
  • 20
  • Having the same problem. – MadHatter Jun 30 '21 at 08:59
  • Click on the link that you embedded in your question. GitHub are phasing out password access entirely, and are temporarily forcing people to use tokens so that they'll notice. – torek Jul 02 '21 at 09:23

1 Answers1

0

I had the same problem. Please try this:

 git config --global http.proxy

And use your token instead of password, of course.

Ansible
  • 1
  • 1