From 8c9fbbc1942c62ed1d0968a602c8f5c18cd92d4f Mon Sep 17 00:00:00 2001 From: Brent Wheeldon Date: Fri, 21 Feb 2014 16:33:57 -0500 Subject: [PATCH] Add some sweet new git aliases, courtesy of ThoughtBot --- gitconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gitconfig b/gitconfig index 89987fa..e176254 100644 --- a/gitconfig +++ b/gitconfig @@ -1,6 +1,9 @@ [alias] - st = status + ca = commit --amend co = checkout + delete-branch = !sh -c 'git push origin :refs/heads/$1 && git remote prune origin && git branch -D $1' - + st = status + up = !git fetch origin && git rebase origin/master [format] pretty = format:%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s [log]