Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sourcetree always tries to push a tag when not needed.

Prakash Nadar January 24, 2012

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

1 vote
Answer accepted
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2012

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.

Prakash Nadar January 24, 2012

Thanks, I will start using the beta version.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events