![]() Voila – you can now clone, pull and commit into your Private GitHub repository, using Sourcetree. Edit your account – change Auth Type from OAuth to Basic and enter the token from the previous steps into the Password field.Now go back to the Accounts section in Sourcetree.Then copy the newly generated token as you make sure to use the Copy button on the right (as you might copy some space character if you do it manually).Give the permissions you would like Sourcetree to have, but make sure repo is checked (with all the sub-menus).Go to Personal Account Settings and create a new token, using the “Generate new token” button.Go to Account settings > Developer Settings.The problem seemed to be in the way the account is linked in Sourcetree. I spent some time reading the Atlassian forums (Sourcetree is an Atlassian product) and found a whole bunch of people dealing with the same problem. Now to the best part – resolving the issue. View topic Connect your Bitbucket or Github account If you want to add remote repositories, you need to connect to your hosting service. With this setup in place however, you can’t clone your Private repository, if you already have it in place – you cannot pull from it, and you also can’t push any changes. Get started Install and set up Sourcetree Install Sourcetree Step-by-step instructions for installation. ![]() You can see thaht the Auth Type is set to OAuth by default. Then the account setup is done and you can see it in Sourcetree > Preferences > Accounts. When you do the initial setup of Sourcetree, you enter your GitHub account, a browser window opens automatically, you are logged into your GitHub account and grant access for Sourcetree. A local installation of Sourcetree – version 4.0.2 (236), with embedded Git, version 2.27.0.A Macbook machine (probably not any different on Windows, I will tell you next month when I go through the same steps on my new laptop).View topic Understand the interface See some of the major parts of the SourceTree interface. I will focus on using a Private one in this blog post. Get started Get started with Sourcetree Learn an easy tool for Git or Mercurial version control Install and set up Sourcetree Find the basic info you need to get working. As a general, you would not have much trouble with the public ones. A GitHub account with some Public repositories and some Private repositories. Atlassian SourceTree is a graphical user interface (GUI) desktop client that facilitates user interaction with Git repositories.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. ![]() Visualize your code Seeing really is believing. Review changesets, stash, cherry-pick between branches and more. Powerful for experts Perfect for making advanced users even more productive. I click 'OK'.Ħ) The second popup disappears, but I now have an error message on the first popup. Simple for beginners Say goodbye to the command line - simplify distributed version control with a Git client and quickly bring everyone up to speed. 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. I am not allowed to click inside the Username field. 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. SourceTree can handle all kind of remotes, offering facilities (such as remembering passwords) to access most popular services like BitBucket and GitHub. I'm unable to link my GitHub account to SourceTree.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |