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: 

Local branches not syncing up with remotes.

Shalin Dalal
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!
August 18, 2015

I have deleted few branches in BitBucket web UI but I still see those branches in my local repo even after pruning branches with no remote.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Seth
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.
August 18, 2015

In my experience, if git does an automatic (non-pruning) fetch after you delete remote branches, it modifies the local branches so that they're no longer tracking branches. After that, doing a prune-fetch doesn't effect them.

Shalin Dalal
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!
August 18, 2015

But in my case I am still seeing the remote branches that I deleted under remotes/origin even for the ones that weren't in my local repo

TAGS
AUG Leaders

Atlassian Community Events