Skip to content

Instantly share code, notes, and snippets.

@sembozdemir
Last active December 25, 2018 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sembozdemir/3aa865f982adfb762b5b02239a2ed743 to your computer and use it in GitHub Desktop.
Save sembozdemir/3aa865f982adfb762b5b02239a2ed743 to your computer and use it in GitHub Desktop.
My ZSH git aliases that I use mostly
  • gst : git status

  • gc : git commit -v

  • gc! : git commit -v --amend

  • gcn! : git commit -v --no-edit --amend

  • ggu <branch> : git pull --rebase origin <branch>

  • gpr <branch> : git push origin HEAD:refs/for/<branch>%r=a@a.com,r=b@b.com,r=c@c.com

  • gpr! <branch> : git push origin HEAD:refs/drafts/<branch>%r=a@a.com,r=b@b.com,r=c@c.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment