Skip to content

Instantly share code, notes, and snippets.

View gist:1522392e3a6e207a4030a2a8ce3d9c66
#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; }