首页 > 解决方案 > 无法在本地分支和主分支上执行 git pull

问题描述

$ git pull
error: cannot lock ref 'refs/remotes/origin/102-fix-first-seen-should-not-display-in-contacts-export-file': unable to resolve reference 'refs/remotes/origin/102-fix-first-seen-should-not-display-in-contacts-export-file': reference broken
From https://github.com/bigbinary/neeto-help-web
 ! [new branch]          102-fix-first-seen-should-not-display-in-contacts-export-file -> origin/102-fix-first-seen-should-not-display-in-contacts-export-file  (unable to update local ref)
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: bad ref for .git/logs/refs/remotes/origin/102-fix-first-seen-should-not-display-in-contacts-export-file
error: bad ref for .git/logs/refs/remotes/origin/244-maximum-word-count-should-be-defined-on-conversation-notes
error: bad ref for .git/logs/refs/remotes/origin/245-some-ui-changes-required-in-the-visitors-detail-section
error: bad ref for .git/logs/refs/remotes/origin/473-email-verification-email-page-ui
fatal: bad object refs/remotes/origin/102-fix-first-seen-should-not-display-in-contacts-export-file
fatal: failed to run repack
error: task 'gc' failed

标签: gitgithub

解决方案


推荐阅读