Push a tag to a remote repository using Git? -
i have cloned remote git repository laptop, wanted add tag ran
git tag mytag master
when run git tag
on laptop tag mytag
shown. want push remote repository have tag on clients, run git push
got message:
everything up-to-date
and if go desktop , run git pull
, git tag
no tags shown.
i have tried minor change on file in project, push server. after pull change server desktop computer, there's still no tag when running git tag
on desktop computer.
how can push tag remote repository client computers can see it?
to push single tag:
git push origin <tag_name>
and following command should push all tags (not recommended):
git push --tags
Comments
Post a Comment