Use version sort
git tag -l | sort -V
or for git version >= 2.0
git tag -l --sort=v:refname
git tag -l --sort=-v:refname # reverse
More Related Contents:
- What is the difference between an annotated and unannotated tag?
- jenkins trigger build if new tag is released
- Git: How to find out on which branch a tag is?
- How to list all tags that contain a commit?
- How to list all tags pointing to a specific commit in git
- Change date of git tag (or GitHub Release based on it)
- git command to show all (lightweight) tags creation dates
- Can tags be automatically moved after a git filter-branch and rebase?
- How can I make git log order based on author’s timestamp?
- Remove sensitive files and their commits from Git history
- After $git push -u origin main command, Git bash is not requesting any authentication literally does nothing
- Git – Ignore node_modules folder everywhere
- In Git, how can I write the current commit hash to a file in the same commit
- How can I move a directory in a Git repo for all commits?
- What is a dangling commit and a blob in a Git repository and where do they come from?
- How do I use `git rebase -i` after `git merge` without messing things up?
- git 2.32 git push -u origin master Nothing happens
- How to push a local Git repository to another computer?
- git: symlink/reference to a file in an external repository
- git commit frequency
- How does git handle folder permission?
- How to rebase one Git repository onto another one?
- How do I change case of the names of multiple files, already committed?
- Git submodules and ssh access
- How to add a changed file to an older (not last) commit in Git
- Changing the Git remote ‘push to’ default
- Transfer git repositories from GitLab to GitHub – can we, how to and pitfalls (if any)?
- Create empty branch on GitHub
- Git clone repository error: RPC failed; result=56, HTTP code = 200
- Commit a file to a Different Branch Without Checkout