Skip to content

Commit

Permalink
Add some sweet new git aliases, courtesy of ThoughtBot
Browse files Browse the repository at this point in the history
  • Loading branch information
BrentWheeldon committed Feb 21, 2014
1 parent 8e87949 commit 8c9fbbc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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]
Expand Down

0 comments on commit 8c9fbbc

Please sign in to comment.