diff --git a/Cheatsheet.textile b/Cheatsheet.textile index 959b002..cdb9a71 100644 --- a/Cheatsheet.textile +++ b/Cheatsheet.textile @@ -20,4 +20,17 @@ Git: Dynamic access to current branch name with the current_branch function. * @git pull origin $(current_branch)@ -* @grb publish $(current_branch) origin@ \ No newline at end of file +* @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 -R - +* @gc@ - git commit -v +* @gca@ - git commit -v -a +* @gb@ - git branch +* @gba@ - git branch -a