Permalink
Browse files

Add some sweet new git aliases, courtesy of ThoughtBot

  • Loading branch information...
BrentWheeldon committed Feb 21, 2014
1 parent 8e87949 commit 8c9fbbc1942c62ed1d0968a602c8f5c18cd92d4f
Showing with 4 additions and 1 deletion.
  1. +4 −1 gitconfig
View
@@ -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]

0 comments on commit 8c9fbbc

Please sign in to comment.