git tags not pushed to remote yet -


in git, created local tags, , of them wanted push origin.

after while, want check tags missed pushing remote.

do have command show tags in local repo not pushed remote repo yet?

thank you.

considering git push can push tags, use git push --dry-run preview push , see if tags pushed or not.

git push --tags --dry-run 

that list local tags not present on remote.
if output empty, tags pushed.

note that, mentioned in "how can see push git?":

the problem git push --dry-run still requires write permission @ remote.
if have clone without permission push upstream, you'd see local unpushed changes are, --dry-run won't it.

in case, scripting solution mentioned knittl in the comments (git ls-remote --tags origin vs. git tag) option.


Comments