I'm fetching for remote branches and stuck in some sort of a loop.
I fetch once and get:
$ git fetch
* [new branch] minorRelease/something-> origin/minorRelease/something
And then I fetch again and get:
$ git fetch
* [new branch] minorRelease/Something-> origin/minorRelease/Something
Same branch but with a capital S
.
I tried to delete the file from the following folder .git/refs/remotes/origin/minorRelease
, but when fetching again, I get both and return to the loop above:
$ git fetch
* [new branch] minorRelease/Something-> origin/minorRelease/Something
* [new branch] minorRelease/something-> origin/minorRelease/something
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…