I have a prepush hook that tests my code, however, it also runs when I do a git push --tags. Is there any way to avoid this?
Maybe there's some way to check if its a regular push or if its a --tags push?
Update - These are the only arguments I was able to find:
- $1 is the name of the remote
- $2 is url to which the push is being done