git push 反斜杠错误’\’报错:bad line length character
$ git push github masterfatal: filename in tree entry contains backslash: 'D:\Game_Log.txt'error: remote unpack failed: eof before pack header was fully readerror: failed to push some refs to 'git@...
·
$ git push github master
fatal: filename in tree entry contains backslash: 'D:\Game_Log.txt'
error: remote unpack failed: eof before pack header was fully read
error: failed to push some refs to 'git@github.com:pet**/***.git'
解决办法:
- 升级git版本到2.25或者降到2.23都可解决此问题
- 禁用core.protectNTFS :
git config --global core.protectNTFS false
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
已为社区贡献11条内容
所有评论(0)