Skip to content

Commit

Permalink
Add git tip alias
Browse files Browse the repository at this point in the history
  • Loading branch information
panthomakos committed Jan 19, 2017
1 parent 61f52fc commit 5069605
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitconfig
Expand Up @@ -30,6 +30,7 @@
sx = "!sh -c 'git stash drop stash@{$1}' -"
ds = "!sh -c 'git stash show -p stash@{$1}' -"
rhm = reset --hard origin/master
tip = !sh -c 'git rev-list --boundary HEAD...master | grep -v "^-" | tail -n1'
tags = tag -l
[core]
editor = vim
Expand Down

0 comments on commit 5069605

Please sign in to comment.