Open funkyLover opened 10 years ago
不懂。。
未遇到过
说说我的解决方法吧 如果以后遇上了找网上的方法 都不行了试试我的蠢方法吧 先回滚commit, 然后再把修改过的文件分次commit push 这次出现这个问题是因为其中一个文件的文件名 改了之后居然就可以了
杜绝中文文件名, 中文 win 下面 git config --global i18n.commitencoding utf-8 git config --global i18n.logoutputencoding gbk git config --global core.autocrlf true linux 下面 git config --global i18n.commitencoding utf-8 git config --global i18n.logoutputencoding utf-8 git config --global core.autocrlf true 无论任何时候,先 fetch 再 pull 再 编码 如果忘记 fetch 然后 commit 了,先 fetch 再 pull 再解决冲突(有时不需要)再 commit push 手贱多 fetch 多几次保管没事 用 eclipse egit 的话设置 remote -> local 的 map 比较容易
:+1:
remote: fatal: early EOF error: unpack failed: index-pack abnormal exit To git@github.com:3dobe/bounty-hunter.git ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'git@github.com:3dobe/bounty-hunter.git'
用TortoiseGit push报了这个错 上网查了好久没能解决 有人遇过这个错吗??