[git-users] Re: how can you cleanup your local repository when branch -a shows a bunch or origin/ branches that no longer really exist.

2009-11-12 Thread donnoman
git remote prune origin Worked great thank you. On Oct 13, 5:38 am, Artiom Diomin wrote: > В Пнд, 12/10/2009 в 10:23 -0700, donnoman пишет: > > > Our team creates topic branches, then when they are ready rebases them > > and merges them into our testing branch and then deletes the old topic > >

[git-users] Re: how can you cleanup your local repository when branch -a shows a bunch or origin/ branches that no longer really exist.

2009-10-14 Thread Jeffrey
For your question, if there are a lot of branches involved, your best bet is probably to write a quick script which runs through the branches on origin deleting the local copies, and recreating them from origin (or if you're daring, using update-ref to directly move them to the proper location).

[git-users] Re: how can you cleanup your local repository when branch -a shows a bunch or origin/ branches that no longer really exist.

2009-10-13 Thread Donovan Bray
They are remote tracking, we create them as remotes for code review and testing. Once we are satisfied we rebase and merge to testing, then delete the remote tracking branch so the I'll effects of history rewriting are never present. The side effect is that the deletion of that origin only

[git-users] Re: how can you cleanup your local repository when branch -a shows a bunch or origin/ branches that no longer really exist.

2009-10-13 Thread Artiom Diomin
В Пнд, 12/10/2009 в 10:23 -0700, donnoman пишет: > Our team creates topic branches, then when they are ready rebases them > and merges them into our testing branch and then deletes the old topic > branch. > > Apparently git pull and fetch don't automatically trim the list of > branches that it thi

[git-users] Re: how can you cleanup your local repository when branch -a shows a bunch or origin/ branches that no longer really exist.

2009-10-13 Thread Michael P. Soulier
On 12/10/09 donnoman said: > Our team creates topic branches, then when they are ready rebases them > and merges them into our testing branch and then deletes the old topic > branch. > > Apparently git pull and fetch don't automatically trim the list of > branches that it thinks origin has. > >