See how you can create and checkout a branch with the same command... Learn More
You can rename a Git branch using the git branch command followed by... Learn More
To switch to a Git branch, you're going to use the git checkout command followed by the branch name... Learn More
To checkout a remote Git branch you will use the git checkout command followed by the branch... Learn More
Delete a Git branch locally using the git branch command followed by... Learn More
Deleting a remote Git branch works differently than deleting a Git branch locally... Learn More
To view a list of your Git branches, you can run the git branch command... Learn More
To merge a feature branch into master, you will first need to... Learn More
You will use the git push command to set an upstream branch... Learn More
To fetch changes from a remote Git branch, you're going to use the git pull command. Learn how to use fast foward only, merge, or rebase when combining file changes in Git... Learn More
If you want to see when a specific behavior was introduced, you want to Git checkout a commit. Learn how to checkout a commit using the commit hash in the command line. Learn More
Learn how to use the Git checkout command to checkout a Git tag as a branch or in a detached head state. Run the Git tag command to view the tags in your repository. Learn More
It is possible to cherry pick from another repo using the command line... Learn More
Git 1.7.2 introduced the ability to cherry pick a range of commits... Learn More
To undo a Git commit you can use the git revert command. Learn how to revert changes in Git, revert multiple commits, and change your Git commit message in the process... Learn More
If you've made a mistake in your last commit, use the Git amend command to edit a Git commit message, or amend your last commit to change its content. Learn More
Compare the Git fetch vs Git pull actions and when you should use which command to get changes from your remote repository, and get a refresher on how to pull a remote branch. Learn More
If you want to undo a Git commit that is not your last commit and you don't want to loose any work, you can use this tool. Learn More
How do you decide whether to perform a Git rebase or a Git merge? There are related benefits and risk to both. Learn when to use Git merge vs rebase... Learn More
Learn how to Git rebase a master branch, and see what happens when a conflict occurs... Learn More
Get updates when we publish new concepts by signing up for our newsletter!