[git] nit in library release documentation
At https://svn.boost.org/trac/boost/wiki/StartModMaint#Lightweightlibraryreleas... there is: git tag -a mylib-1.2.0 git push --tags mylib-1.2.0 # specific tag pushed to avoid pushing all local tags As discussed in a thread on module tagging, --tags should never be used with git push as it pushes all local tags to the remote repository (adding those that did not exist there). There are cases where you might want to do that, but for the specific situation of releasing a tagged library a sufficient and less risky command is: git push mylib-1.2.0 # specific tag pushed to avoid pushing all local tags Peter
On Tue, Jan 14, 2014 at 12:34 PM, Peter A. Bigot
At https://svn.boost.org/trac/boost/wiki/StartModMaint# Lightweightlibraryrelease there is:
git tag -a mylib-1.2.0 git push --tags mylib-1.2.0 # specific tag pushed to avoid pushing all local tags
As discussed in a thread on module tagging, --tags should never be used with git push as it pushes all local tags to the remote repository (adding those that did not exist there).
There are cases where you might want to do that, but for the specific situation of releasing a tagged library a sufficient and less risky command is:
git push mylib-1.2.0 # specific tag pushed to avoid pushing all local tags
Fixed. Thanks, --Beman
participants (2)
-
Beman Dawes
-
Peter A. Bigot