Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add some sweet new git aliases, courtesy of ThoughtBot

  • Loading branch information...
commit 8c9fbbc1942c62ed1d0968a602c8f5c18cd92d4f 1 parent 8e87949
@BrentWheeldon authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 gitconfig
View
5 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]
Please sign in to comment.
Something went wrong with that request. Please try again.