![]() Verify the user email address that you had set git config -global user.email ![]() Set the user email address to the git git config -global user.email " " Verify the user name that you had set git config -global user.name Set the user name to the git git config -global user.name "karthiQ" Setting user details like user name and email is important for tracking purposes follow below commands to set details.īefore setting any values in git, you need to open git bash terminal, -global is nothing but the scope of the user details. If you want you can bring the git shortcut to Desktop.Open the installer and follow just standard procedure, do not change any.Choose the to download based on your operating system.It just takes screenshots of your files when you save them, and then it compares the files for differences. Recommended to try method 2 first.Git is an open-source program to keep track of changes in your files. If the above doesn't work, try this guide (also from Medium): Using Sourcetree to connect to Github without password. Try this guide from Medium: Connecting Mac Sourcetree with your GitHub account. (b) If the above didn't work, delete those credential altogether and try Option 1 or 2 again. (a) edit it and replace the password field with a GitHub PAT. For each credentials related to GitHub (if the name mentions GitHub) in Web Credentials or Windows Credentials categories,.When prompted, enter your usual GitHub username but give the PAT (the one you created in step 1) instead of the regular password. Authentication: Basic (different from option 1 above).In the Sourcetree, choose Tools -> Options -> Authentication.When asked to select the scope of the PAT, you can choose the repo 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |