From 50213e75350cf497051d89293162c6a15dd41f85 Mon Sep 17 00:00:00 2001 From: pfhawkins Date: Mon, 13 Sep 2010 08:37:22 -0700 Subject: [PATCH] Migrated from cheatsheet v6 --- Cheatsheet.textile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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