If I want to tag the current commit. I know both of the following command lines work:

git tag <tagname>

and

git tag -a <tagname> -m '<message>'

What is the difference between these commands?

3 Answers
3

Leave a Reply

Your email address will not be published. Required fields are marked *