Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 1.35 KB

README.md

File metadata and controls

11 lines (11 loc) · 1.35 KB

📌 Git cheatsheet & zsh aliases

Command Alias Description Docs
git status gst List all new or modified files docs
git status --short gss List all new or modified files in the short-format. docs
git status --short -b gsb List all new or modified files in the short-format & show branch docs
git branch gb List, create, or delete branches docs
git branch --all gba List both remote-tracking branches and local branches docs
git branch --delete gbd Delete a branch docs
git branch --delete --force gbD Without -f, git branch refuses to change an existing branch. docs
git branch -vv gbg When in list mode, show sha1 and commit subject line for each head, along with relationship to upstream branch (if any) docs