- Using the Client you get on top of the tasks you are working at. You don't have a single chance to miss anything. Get updates associated with your code on the fly.
SourceTree One of the alternativse to GitHub Desktop application, is an application called SourceTree, developed by Atlassian, the company behind Bitbucket. SourceTree can be used for both Bitbucket and GitHub repositories. Unfortunately, you can’t do this in SourceTree, and it often makes SourceTree run slowly if you even try to do it while SourceTree is open. But it’s what I do in all my “solo repositories” and “quickie-project repositories” where the “remote” (e.g. GitHub.com, BitBucket.com) repository is the “source of truth” and my. If you do choose to use SourceTree as a GUI Git client, you'll need to add your GitHub credentials to SourceTree. Let's do that now. The problem for me seemed to be the order of setup between SourceTree and GitHub. I setup SourceTree first and just clicked all the 'setup later' options. An easy fix - Uninstall and re-install SourceTree. The non-obvious bit was needing to delete the actual program files manually. From any 'SourceTree.exe' shortcut, open file location. Step by step on how to install and configure Sourcetree with your github account, clone a repository to your computer, update changes, commit and then push t.
- Track your progress visually. Review informative branching diagrams and achieve team objectives keeping up the good job.
- SourceTree is compatible with two popular OS, so you can harness the power of Git no matter of your preferences (Windows or Mac).
- Working with Git properly requires extensive knowledge. Learn from detailed tutorials throwing light at merging, branching, and many more aspects.
- Your team can keep an eye on big data assets from a single location thanks to SourceTree support of Git Large File Support.
- You don't need to leave the SourceTree to find branches, commits, and file changes, do it within the app.
- SourceTree and out-of-the-box git-flow branching allows you to keep the repositories clutter-free, which facilitates high-capacity development.
- You will like the interactive rebase tool the SourceTree offers. Use it to make commits cleaner and clearer.
- Manage your projects smarter with Submodules. Group them, set dependencies, and do other helpful things.
- Find and make copies of remote repositories via a user-friendly SourceTree interface.
I finally got around to setting up two-factor authentication on my Github account. The process went quite smoothly, until I started to play around with SourceTree and I found out that I was unable to push commits to a git repo.
The error message that I was receiving seemed pretty generic at the time. Besides I knew I was typing my Github password correctly, so that could not be the issue. In hindsight not realizing the two-factor authentication (2fa) was the problem immediately was pretty stupid. The solution to this error is to login with a One Time Password (OTP) token not your normal Github password. If you do use the wrong password you will receive the follow error message.
Note: If you use the official GitHub app you will not run into a login error because their app uses the GitHub API for authentication.
Luckily Github has made creating a OTP quite easy once you know what you are looking for. It is recommended practice to use one token per application. This means if I ever need to reject a token it will only effect the one version of SourceTree on one device.
Below are the steps needed to create your OTP token and re-add your Github account in SourceTree.
Setting up the OTP
To create the OTP, use the following link. Click on “Generate New Token”.
Give your OTP a Token description. Make sure at least the “repo” and “public_repo” options are checked. Click “Generate token”.
Configuration for SourceTree
If you already have SourceTree setup, you will need to edit your account password for GitHub. You can accomplish this by opening the Bookmarks window and clicking on the “Hosted Repositories” button.
Now you need to click on “Edit Accounts…” so you can select your Github account and make modifications.
Click on “Set Password”.
In the Authenticate window make sure and use your newly generated OTP token as your password. I recommend saving the password in your keychain.
Articles: atlassian KB,Ryan Sechrest
Updated: May 15th, 2014 - Add KB link from atlassian. Per
@clburlison Thanks Clayton. I did a KB (https://t.co/Ql7mjXeXDy) too. Yours has pictures though so easier to read. Could you link to the KB?