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

Local branches not syncing up with remotes.

Shalin Dalal 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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events