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
Clones missing submodules and checks out commits.
Git, Repository
Deletes a remote branch.
Git, Branch
Performs an interactive rebase.
Git, Repository
Pushes the current branch's changes to the remote.
Git, Commit
Updates the last commit's message without changing its contents.
Git, Configuration
Prints a list of all git aliases.
Git, Commit
Applies the changes introduced by one or more commits.
Git, Configuration
Use the name of the current branch when pushing by default as the name of the remote branch.
Git, Repository
Prints all commits by the specified author.
Git, Repository
Clones an existing repository, creating a local copy of it.
Git, Repository
Sets up a commit message template for the current repository.
Git, Configuration
Configures user information for git.
Git, Branch
Prints the current branch name.
Git, Repository
Optimizes the local repository.
Git, Repository
Pulls all submodules from their respective remotes.