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: 

Is there a way to replace local tags with remote tags when pulling from remote

Genna Reingold
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 18, 2024

Our project uses tags extensively. Every time someone moves a tag on a remote repository and I try to pull the change into my local I get an error that remote tags conflict with my local. So I have to remove those tags before I can pull from remote.
Is there a way to automatically replace local tags with remote.  

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
March 31, 2026

Hi @Genna Reingold and welcome

you could try to setup the following option in order to overwrite your local tags

Open SourceTree -> Terminal and run the following command :

git config fetch.prune true
git config fetch.pruneTags true
Hope this helps,
Fabio

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events