git - upstream/HEAD listed in remote branches -
i've noticed weird in list of remote git branches. seem 1 of coworkers notices following line when run git branch -r
:
upstream/head -> upstream/7.3.0
no matter seem can't go away, , i'm running issues make me think may root cause. know means, implications of it, , how rid of it?
git creates indirect (symbolic) reference on initial git clone
in appears misguided attempt useful and/or informative. subsequent git fetch
operations may or may not re-create or update (in testing found git fetch
not touch it, in past have seen re-created).
you can delete manually git branch -r -d upstream/head
.
it should harmless, if incorrect.
Comments
Post a Comment