Problem upgrading to 1.4.0
- From
Geoff Russell <geoffrey.russell@gmail.com>
- Date
- Jun 11, 2006, 00:07 UTC
- Message-ID
- <93c3eada0606101707t5eb35a4du3ebd0fd17737943f@mail.gmail.com>
Hi,
When I do a "git pull origin" I get messages:
error: no such remote ref refs/heads/gb/diffdelta
error: no such remote ref refs/heads/jc/bind
error: no such remote ref refs/heads/jc/bind-2
...
Fetch failure: git://git.kernel.org/pub/scm/git/git.gitSo I figured these branches were "in the way" so I deleted them:
git branch -D gb/diffdelta
etc.Again "git pull origin" gives the same errors.
So I went into .git/remotes/origin and removed the lines pointing at these branches and removed the gb and jc directories and did another git pull and it seems to have worked.
I would suggest that when the pull detects the missing remote ref, it should clean up the remotes/origin file. Or have I done entirely the wrong thing?
Cheers, Geoff Russell.