Git 在使用pull或push的时候会出现这样的错误提示

git.exe pull -v --progress "origin"

/libexec/git-core/git-sh-setup: line 83: /bin/sed: Bad file number
From https://git.oschina.net/lewisking/SingleGame
= [up to date] master -> origin/master
d:\Program Files (x86)\Git/libexec/git-core\git-pull: line 268: /bin/tr: Bad file number
Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.

git did not exit cleanly (exit code 1) (13900 ms @ 2014/11/3 17:48:24)

如上问题

出现问题的原因不知道,前两天还好好的,今天就突然这样了,重装git也不行

第1个回答  2014-11-04
兄弟你的问题解决了没有呀!?
第2个回答  推荐于2017-04-22
d:\Program Files (x86)\Git/libexec/git-core\git-pull: line 268: /bin/tr: Bad file number
Your configuration specifies to merge with the ref 'master' 是不是你的代码有为提交的更新呀?你修改文件后如果没有提交push,那么你在pull的时候就会报错的,会让你先提交或者merge合并文件本回答被网友采纳
相似回答