Skip to content

Instantly share code, notes, and snippets.

#when you want to branch and checkout the same branch in one line => gitbc feature/xyz
gbc() { git branch "$@" && git checkout "$@"; }
#git status is too much typing
gs() { git status; }
#git add all is too much typing
gaa() { git add -A; }
#git push is too much typing
gpo() { git push -u origin "$@"; }
#git status is too much typing
gs() { git status; }