When tagging in git, I can
push all new tags:
git push --tags
or push specific tags:
git push origin v1.5
But in both cases any new pending commits will get pushed out as well. How to aviod pushing the commits?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Neither form pushes new commits to the remote, unless the tags you push refer to commits that don’t already exist in the remote.