FYI, I just finish setting up a PAT for git successfully on sourcetree and able to push my code updates. Sourcetree remote: Invalid username or password. Why is there a mismatch in authentication results and attempting to push my code to bitbucket Hope you can provide some clues on what to check next. The Atlassian Community can help you and your team get more value out of Atlassian products and practices. The following steps fixed it for me: Tools > Options > Git > Update Embedded GitĪlso pushing with the command line works.ģ. Have tried inputting/resetting my GitHub password multiple times. While troubleshooting, I have updated my sourcetree app to the latest 3.4.7 version. but Sourcetree expects the standard git credential manager to be in place and working to manage the credentials. You may check by temporarily disabling the system credential. This potentially would prevent caching and mean the use is prompted everytime. I found the answer here, it is a known bug for version 2.1.8+ If this still does not help, this may be due to a problem in the Git-Windows credential handling. I went to Users -> You -> AppData -> Local -> Atlassian -> SourceTree and deleted passwrd. How can I get the connection working again so that I can push my project to github. Cant push via Sourcetree to Remote Cant push via Sourcetree to Remote. The Atlassian Community can help you and your team get more value out of Atlassian products and practices. I tried deleting the account and adding it again to no avail. It always worked but it suddenly stopped, i do not have two factor authentication. Tools > authentication > my github accountĪnd click edit > refresh oauth token A page opens and I get:Īuthentication Successful SourceTree has been successfully authenticated. ![]() fatal: Authentication failed for '' Pushing to Git -c diff.mnemonicprefix=false -c core.quotepath=false push -v -tags origin live_version:live_version remote: Invalid username or password. Hi Mori-san, I assume you are a Japanese speaker (I am sorry if I am wrong) and if you feel more comfortable asking questions or/and getting answers in Japanese, you can add a tag 'Japanese' so that it will be shared with other Japanese users. If you now do another clone you should be asked to enter your Bitbucket password. Then go to Credential Manager (under control panel) and remove any references to Bitbucket. Im trying to push to github with sourcetree but get the following error: So try this, go to c:\users\AppData\local\atlassian\sourcetree and remove the passwd file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |