The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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.

TAGS
AUG Leaders

Atlassian Community Events