Lee*_*Lee 11 git atlassian-sourcetree
我在 SourceTree 中遇到错误,提示“遇到错误:'git tag' 失败,代码为 128:致命:.git/packed-refs 中的未终止行”如果有人看到此错误并知道解决方案,我将不胜感激。
TT-*_*T-- 13
只需删除该文件.git/packed-refs。
然后用pull或 来“刷新”你的仓库fetch。
我有同样的错误
fatal: unterminated line in .git/packed-refs: ...(该文件只是以下几行:
0000 0000 0000 0000 0000 0000 0000 0000)在我的情况下,删除文件有效,我能够再次使用我的回购。
如果上述操作失败,我会尝试类似此答案中提到的操作。步骤是:
remote add origin)fetch)reset)| 归档时间: |
|
| 查看次数: |
6661 次 |
| 最近记录: |