I need to force every new tag to be annotated tag. I need to force it to every user without telling them to do something special. I tried alias for tag to be "tag -a -m ''", but it doesn't work.
In .gitconfig, you can create an alias under a different name:
[alias]
atag = tag -a -m ""
Then git atag creates an annotated tag. Not exactly elegant, but better than having to pass the -m each time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With