search

Home  >  Q&A  >  body text

github - tortoiseGit always fails to push

I installed and configured tortoiseGIT at home, and tested synchronization, submission, and push without any problems. When I installed tortoise at the company, I could get the projects uploaded at home from GitHub, but when I push after modification, I always prompt for username or password. Invalid. I confirmed that my username and password must be correct, but the push always fails. What's going on? ? ?

怪我咯怪我咯2757 days ago1146

reply all(4)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-16 09:21:12

    I have encountered this situation in the git tool in the editor before. There is a simple and crude method

    把这样的地址
    https://github.com/gaopengfei123123/redis_lbs.git
    改写成
    https://<username>:<password>@github.com/gaopengfei123123/redis_lbs.git
    这种格式的

    reply
    0
  • 漂亮男人

    漂亮男人2017-06-16 09:21:12

    The ssh key is not set.

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-16 09:21:12

    Open the folder to be synchronized, right-click and select TortoiseGit> Settings, then select Git in the tree list and check whether the "actually effective" account information is correct. If not, refer to @Just an ID's answer to change the format. one time.

    reply
    0
  • 滿天的星座

    滿天的星座2017-06-16 09:21:12

    I just tried it, OK, I can push it... I don’t know what happened!

    reply
    0
  • Cancelreply