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, Repository
Prints a list of all local branches sorted by date.
Git, Repository
Prints a list of all merged local branches.
Git, Repository
Deletes all local merged branches.
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, Repository
Merges a branch into the current branch.
Git, Configuration
Configures the repository to automatically create upstream branches on push.
Git, Repository
Displays a list of all stashes.
Git, Branch
Moves local commits from the master
branch to a new branch.