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.


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 Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

171 views 12 3
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot