I am working on a project, where I am trying to see all tags while I am not in the directory. I see that it's possible to commit or push, but is it also possible to list the tags while you are not in the directory?
This command didn't work:
cd mln/projects/test/projectx-test/; git tag show
To execute a git command from any folder, you could simply add the path to the repo:
git --git-dir=/path/to/repo/.git tag
(git tag show does not exist as a git command: see git tag man page)
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