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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -