从几天前开始,每次我tab按键以bash形式完成分支名称时,都会看到以下消息:
警告:忽略损坏的ref refs / remotes / origin / HEAD警告:忽略损坏的ref refs / remotes / origin / HEAD
例如,这是当我有一个名为feature / foo的分支并按时看到的tab:
git checkout f
$ git checkout fwarning: ignoring broken ref refs/remotes/origin/HEAD
warning: ignoring broken ref refs/remotes/origin/HEAD
eature/