Pycharm GitHub 'Push failed: fatal: Authentication failed'

前端 未结 7 1682
臣服心动
臣服心动 2021-01-04 23:19

Every time I try to push a repository in GitHub with Pycharm the it fails.

Push failed: fatal: Authentication failed for \'https://github.com/(my github repo         


        
7条回答
  •  自闭症患者
    2021-01-05 00:00

    Ok guys, I tried all suggested solutions and they did not worked for me.

    I use git bash and bitbucket.

    Finally I turned it upsidedown, and it worked - at least that way. I know this is difficult and foolish solution, but it worked. So the steps:

    1. you have your code on your local machine.

    2. you have your repo /on bitbucket/

    3. Delete your repo or make a new one with new name

    4. Make a readme.md with the help of the /bitbucket's/ dashbord

    5. clone the new repo

    6. copy your files into this new folder which you want to push

    7. do the git bash work (add,commit) and push it to the repo.

提交回复
热议问题