Sourcetree always tries to push a tag when not needed.

Hi, every time I push changes to the remote, I always get this message

! [rejected] xxxx-iphone-1.4.1 -> xxxxx-iphone-1.4.1 (non-fast-forward)

the xxx-iphone-1.4.1 is one of many tag and I have never done anything with it. I see the same message if I copy paste the command issued by sourcetree on the console.

How do I make sure that git (or sourcetree) does not attempt to push this tag or how do I fix the repository that it does not push the tag as well.

Thanks.

1 answer

1 accepted

The easiest way is to delete the tag locally if you don't need it.

If you want to keep the tag but not push it, you'll need 1.3 beta 3, which has the option in the Push dialog that says 'Push all tags' - you can uncheck this. Then when you want to push a tag, you can do it from the sidebar instead.

Thanks, I will start using the beta version.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

68 views 2 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you