View the current Git status
Learn how to view the current status of the working tree in Git.
The Git snippet collection contains a variety of short tips and tricks for all currently maintained versions of git. It includes most commonly-used commands and covers various use-cases in the form of simplified documentation, complete with multiple examples.
Learn how to view the current status of the working tree in Git.
Have you accidentally deleted a file? Or maybe you need to restore a file that was deleted? Here's how Git can help you.
Made some changes you don't want to keep? Learn how to discard uncommitted or untracked changes in Git.
Learn how to create a new Git branch and optionally set up a remote tracking branch.
Get the name of the current branch in Git.
Want to compare the changes between two branches in Git? Here's how you can do it.
View differences between staged or unstaged changes and the last commit in Git.
Learn how to easily switch between branches in Git.