Sign into github with sourcetree for windows12/29/2023 ![]() To verify that it is connected to the remote on GitHub, click the "Settings" gear in the top right-hand corner and you should see the GitHub remote in the "Remotes" section. Once that's done, you can double click the new bookmark and use SourceTree as you normally would. Double click a repository in SourceTree, click Setting icon in the top right of the popup window. Option 3: Open the Windows Credential Manager. Generate your Personal access tokens in Github account setting. Now, your Sourcetree should be able to push code to a GitHub repo that you have write permission to. ![]() You can either clone it to a new location, or add the directory manually in the Local tab. When prompted, enter your usual GitHub username but give the PAT (the one you created in step 1) instead of the regular password. Since this was just a test repo, I'll move it to the trash.)Īdding an Existing Repo that Has a Corresponding Remote to SourceTreeįor some reason if you click "Clone" next to a repo you already have on your local machine and select the existing directory, it won't connect the remote repo with your existing copy. Select "Delete" (When you do that, you'll be asked whether you'd just like to remove the bookmark from SourceTree and leave the repo on your machine, or also move the repo to the Trash.Since this was just a test repo, I'll delete it from my machine. If it doesn't, double click on the bookmark in the list in the "Local" tab. The repo will be cloned to your local machine and should open in a new window when it's done. Name: (This is the name of the bookmark that represents the repo in SourceTree) Select repo scope Create token and copy it to clipboard Click SSO icon in created token and authorize company account Clone private company repository in.Destination Path: (This is the location on your computer that you'd like the repo to be cloned to.).Source URL: (Leave this at its default. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |