I'm running Windows 10 and the most recent version of SourceTree. Any help you could provide would be gratefully appreciated. ![]() Don't assume I know anything, even the things I probably should know. Please could someone give me step by step instructions for how to link my GitHub account to SourceTree? Please bear in mind that I've never used this software before so please make your explanations as simple as possible. I know for an absolute 100% cast-iron certainty that my GitHub username and password are definitely correct. I'm unable to progress beyond this point. I click 'OK'.Ħ) The second popup disappears, but I now have an error message on the first popup. ![]() It's entitled "SourceTree Password Request". I click that.ĥ) A second popup box appears. The only thing I can seem to click is 'Refresh Password'. I'm now allowed to click inside the Username field.Ĥ) I type my GitHub username. I change 'Authentication' from 'OAuth' to Basic. Go to Settings > Remotes and check if it is like ssh:///GITACCOUNTNAME/GITREPONAME.git Check Sourcetree > Preferences > Accounts that you are using OAuth authorisation and SSH protocol. I am not allowed to click inside the Username field. Use SSH authentification in Sourcetree for your repository, if not convert it to SSH. In the 'Authentication' field, it says 'OAuth'. I change 'Preferred Protocol' to SSH.ģ) I then go down to Credentials. For Host URL, it says ', For Preferred Protocol it says HTTPS.Ģ) I change 'Hosting Service' to GitHub. For 'Hosting Service' it says 'Bitbucket'. A popup appears called 'Edit Hosting Account'. I click the Authentication tab, and then click 'Add'. Here's what I'm doing:ġ) I open SourceTree, go to Tools, and then Options. Here are a couple of screens to help you.Īgain, once you get the Access token, enter it in as a password together with your Bitbucket account name to your 3 rd party Git GUI.I'm unable to link my GitHub account to SourceTree. The analogous process is on Bitbucket site. Once you get the Access token, enter it in as a password together with your GitHub account name to your 3 rd party Git GUI. Here are a couple of screens that will help you create a token at GitHub: You need to generate an “access token.” 2.1. It is not the GitHub account password they want here. You have not properly assigned credentials. That is not the proper password you are entering here. Try to add a new SSH key via Sourcetree, seems like Sourcetree is not picking up your username and password when you are using HTTP/S authentication, it can be because: You have not added your account info in git global. You are again presented with the same message: “Not authorized”. ![]() ![]() Then you enter your account name and password. Here is how the same situation looks in SourceTree application: Then you enter your GitHub account name and password. Then you are prompted for the credentials: So, after you try to push, you get a message: I will demo the problem with screens from MeGit, but it will happen with other Git GUI clients. The situation can happen with Git clients SourceTree, GitHub Desktop, MeGit/EGit with remote repositories GitHub and Bitbucket (it does not necessarily happen in all combinations, but I have seen it in several). Typically, that will manifest itself in this way: Git push to GitHub from 3 rd party client results in "Authentication Failed". perform Git operations with your Bitbucket Data Center, running the SAML SSO app. When using 3 rd party Git GUI, you might have a problem setting authentication. Like any other Bitbucket SAML app, it does not allow authentication v.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |