Skip to content

Instantly share code, notes, and snippets.

@orangeeli
Created June 21, 2016 06:46
Show Gist options
  • Save orangeeli/48d422f94fbee174fc44a73e8f6addff to your computer and use it in GitHub Desktop.
Save orangeeli/48d422f94fbee174fc44a73e8f6addff to your computer and use it in GitHub Desktop.
git tagging play
#!/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