Created
January 19, 2023 16:59
-
-
Save Sam-Gram/44e095cebabb83bcf19b5fd1ba25a1a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Show last 10 tags by creation date | |
git for-each-ref --sort=-creatordate refs/tags --format='%(refname:lstrip=2)' --count=10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment