Skip to content

Commit

Permalink
Add some git aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronlevy committed Dec 2, 2016
1 parent 8b23fc8 commit c379476
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
fo = fetch origin
ff = pull --ff-only

# List branches sorted by last commit date
bd = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(refname:short) (%(committerdate:relative))'

# Show diff ignoring 'vendor' directory
vdiff = "!f() { git diff $1 -- . ':!vendor'; }; f"

[web]
browser = google-chrome

Expand Down

0 comments on commit c379476

Please sign in to comment.