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? ? ?
I have encountered this situation in the git tool in the editor before. There is a simple and crude method
The ssh key is not set.
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.
I just tried it, OK, I can push it... I don’t know what happened!