Skip to content

maxdzyubak/git-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

📌 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