Skip to content

Commit

Permalink
Create Git alias for tagging (sem)ver releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinjasaur committed Jul 25, 2018
1 parent 6022660 commit 4dccf9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
# Show the files that are currently assume-unchanged
assumed = !git ls-files -v | grep ^h | cut -c 3-

# Create an annotated tag with a message for a (sem)ver release
ver = "!f() { git tag -a ${1} -m \"${1}\"; }; f"

# List contributors with number of commits
who = shortlog -sn

Expand Down

0 comments on commit 4dccf9e

Please sign in to comment.