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? ? ?
曾经蜡笔没有小新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
这种格式的
大家讲道理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.