早教吧 育儿知识 作业答案 考试题库 百科 知识分享

Git在使用pull或push的时候会出现这样的错误提示git.exepull-v--progress"origin"/libexec/git-core/git-sh-setup:line83:/bin/sed:Badfilenumber=[uptodate]master->origin/masterd:\ProgramFiles(x86)\Git/libexec/git-core\git-pul

题目详情
Git 在使用pull或push的时候会出现这样的错误提示
git.exe pull -v --progress "origin"
/libexec/git-core/git-sh-setup:line 83:/bin/sed:Bad file number
= [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也不行
▼优质解答
答案和解析
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合并文件
看了 Git在使用pull或pus...的网友还看了以下: