Created
June 27, 2013 11:39
-
-
Save rymawby/5875809 to your computer and use it in GitHub Desktop.
Handy cheatsheet for the git plugin for oh-my-zsh. Taken from https://github.com/robbyrussell/oh-my-zsh/wiki/Cheatsheet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dynamic access to current branch name with the current_branch function | |
git pull origin $(current_branch) | |
grb publish $(current_branch) origin | |
# Helpful aliases for common git tasks | |
g # git | |
gst # git status | |
gl # git pull | |
gup # git fetch && git rebase | |
gp # git push | |
gd # git diff | mate | |
gdv # git diff -w "$@" | vim - | |
gc # git commit -v | |
gca # git commit -v -a | |
gco # git checkout | |
gb # git branch | |
gba # git branch -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment