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.
Uses a binary search algorithm to manually find which commit in history introduced a bug.
Git, Commit · Apr 13, 2021
Pushes the current branch's changes to the remote.
Git, Repository · Apr 13, 2021
Saves the current state of the working directory and index into a new stash.
Git, Repository · Apr 13, 2021
Updates the last commit's message without changing its contents.
Git, Commit · Apr 13, 2021
Clones an existing repository, creating a local copy of it.
Git, Repository · Apr 13, 2021
Applies the changes introduced by one or more commits.
Git, Commit · Apr 13, 2021
Use the name of the current branch when pushing by default as the name of the remote branch.
Git, Configuration · Jun 30, 2021
Learn how to add multiple authors to a git commit with this quick and easy tip.
Git, Github · Jun 12, 2021
Sets up a commit message template for the current repository.
Git, Repository · Apr 13, 2021