When asked to select the scope of the PAT, you can choose the repo option and the workflow option. Create a classic (not fine-grained) GitHub Personal Access Token (PAT), by following the instructions here.Now, your Sourcetree should be able to push code to a GitHub repo that you have write permission to.If a Browser Window pops up and asks you to login to GitHub and to authorize Sourcetree accessing your GitHub account, do so. Click on the Refresh OAuth token button.Click on Add, to add an authentication method.If any GitHub authentication methods are shown in that dialog, delete them.In the SourceTree, choose Tools -> Options -> Authentication.Authenticate with your default browser on your GitHub account with your normal GitHub username/password.If you did not connect your SourceTree to your GitHub account during the installation, or your current SourceTree-GitHub connection is not working, given below are how you can rectify it. If prompted to set up an SSL key, you can click No, but you are free to set of an SSL key if you are familiar with SSL key usage.Ĭonnecting Sourcetree to Your GitHub Account.You can unselect Mercurial, as we will be using Git instead. In the Pick tools to download and install, you will be asked to choose whether to install Git and.After you sign in to GitHub successfully, the installation can continue. This usually opens up a Browser for you to sign in to GitHub. click the Refresh OAuth Token button so that SourceTree can obtain youn access token from GitHub.choose OAuth as the authentication method.In the next step, you will be prompted to Connect an Account.If the installer doesn't allow skipping, you can create an Atlassian account as directed. When prompted to Login to your Atlassian account, you can try to skip that step. ![]() Download Sourcetree from their website and run it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |