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.
Git, Configuration
Increase your productivity by creating aliases for many common git operations.
Git, Repository
Prints a list of all local branches sorted by date.
Git, Branch
Merging a branch is a pretty common Git operation. Learn how fast-forward mode works and its benefits, so you can decide if it's a good fit for you and your team.
Git, Repository
Prints a list of all merged local branches.
Git, Repository
Deletes all local merged branches.
Git, Commit
Ever needed to create a git commit with a different date? Here's a quick and easy way to do it.
Git, Repository
Completely purges a file from history.
Git, Repository
Prints a list of all local branches.
Git, Repository
Prints a visual graph of all commits and branches in the repository.
Git, Repository
Prints all commits in the specified date range.
Git, Configuration
Disables the default fast forwarding on merge commits.
Git, Repository
Prints a list of lost files and commits.
Git, Repository
Merges a branch into the current branch, creating a merge commit.
Git, Repository
Prints a short summary of all commits excluding merge commits.
Git, Branch
Forces an update of the remote branch adter rewriting the history locally.