git-tips is a collection of commonly used git tips and tricks, organised into sections such as basic operations and branching. It is aimed at developers who want quick reference commands for everyday git tasks. Each entry is a short recipe with the command to run, and the commands were tested on git version 2.7.4 (Apple Git-66). A companion CLI called git-tip is listed as a tool to make use of the tips.
Install & use
Install
git clone https://github.com/git-tips/tips.git
Usage
# open git-tips/tips and follow its README
git-tips/tips is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.
Features
Categorised list of git commands and recipes
Basic operations section covering commits, stashes, worktrees and fetching
Branching section for listing, tracking, renaming and deleting branches
Companion git-tip CLI listed for using the tips
Interactive GitBook documentation linked from the README
Translations available in several languages
Best for
Looking up a git command for a specific task
Learning lesser-known git operations
Quick reference while working in a terminal
Finding commands for branch and commit management
Pros
Organised into a table of contents by topic
Commands are stated to be tested on a specific git version
Companion CLI and interactive documentation are provided
Cons
Commands were tested on git version 2.7.4 (Apple Git-66)
Some tips depend on newer git features, such as git 2.5 for working trees