Skip to content

Commit

Permalink
Merge pull request #9 from cyberbob/master
Browse files Browse the repository at this point in the history
Two new aliases in tags group and better strategy for checkout/push remote branches
  • Loading branch information
jakubnabrdalik committed Oct 8, 2014
2 parents 9ed454d + 2b1bbe3 commit c86fa72
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[branch]
autosetupmerge = true

[push]
default = tracking

[color]
ui = auto
[color "branch"]
Expand Down Expand Up @@ -47,6 +53,8 @@
showtags = show-ref --tags
pushtags = push --tags
tagwithdate = !sh -c 'git tag "$0"_$(date "+%y-%m-%d_%H-%M-%S")'
lasttag = describe --abbrev=0 --tags
checkoutlasttag = !sh -c 'git checkout `git describe --abbrev=0 --tags`'

#better versions
purr = pull --rebase
Expand Down

0 comments on commit c86fa72

Please sign in to comment.