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.
Increase your productivity by creating aliases for many common git operations.
Git, Configuration · Jun 12, 2021
Disables the default fast forwarding on merge commits.
Git, Configuration · Jul 3, 2021
Learn how to eliminate the annoyance of copying dollar signs ($) along with terminal commands from the web with a simple bash alias.
Git, Configuration · Mar 5, 2023
Effortlessly create upstream branches on push by enabling a simple git config setting.
Git, Configuration · May 21, 2023
Use the name of the current branch when pushing by default as the name of the remote branch.
Git, Configuration · Jun 30, 2021
Sets up a commit message template for the current repository.
Git, Repository · Apr 13, 2021
Configures git to autocorrect mistyped commands.
Git, Configuration · Apr 13, 2021
Opens the git configuration file in the git text editor.
Git, Configuration · Apr 13, 2021
Configures the text editor used by git.
Git, Configuration · Apr 13, 2021