In repo 1:
- Edit some stuff,
- git commit,
- git tag -a,
- git push --tags.
In repo 2:
- git pull --tags,
-> The changes from the edit are visible.
This definitely isn't clear from the documentation:
- --tags
-
All refs under $GIT_DIR/refs/tags are pushed, in addition to refspecs explicitly listed on the command line.
No comments:
Post a Comment