FAQ Get,update GIT project sources: Difference between revisions

Line 170: Line 170:
git tag -a "x.y.z_YYYYMMDD" -m "Tag for x.y.z_YYYYMMDD"
git tag -a "x.y.z_YYYYMMDD" -m "Tag for x.y.z_YYYYMMDD"
or
or
git tag -f -a "x.y.z_BETAX_YYYYMMDD" -m "Tag for x.y.z_BETAX_YYYYMMDD" idcommit  # -f force if an existing tag already exists, idcommit allows to choose commit to tag
git tag -f -a "x.y.z_BETAi_YYYYMMDD" -m "Tag for x.y.z_BETAi_YYYYMMDD" idcommit  # -f force if an existing tag already exists, idcommit allows to choose commit to tag


git push --tags  # To push tags to remote origin
git push --tags  # To push tags to remote origin