Created
June 21, 2016 06:46
-
-
Save orangeeli/48d422f94fbee174fc44a73e8f6addff to your computer and use it in GitHub Desktop.
git tagging play
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://git-scm.com/book/en/v2/Git-Basics-Tagging | |
# $1 => version | |
# $2 => comment | |
# example: | |
# git tag -a version -m "my tagged version" | |
git tag -a $1 -m "$2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment