2017-10-17 18 views
0

누군가 내게 다음과 같은 결과를 설명 할 수 있습니까?git-status는 모든 것이 깨끗하지만 git-pull은 unstaged 변경에 대해 불평을합니다.

[[email protected] hostname /dir]% git status 
On branch master 
Your branch is up-to-date with 'origin/master'. 

It took 11.81 seconds to enumerate untracked files. 'status -uno' 
may speed it up, but you have to be careful not to forget to add 
new files yourself (see 'git help status'). 
nothing to commit, working directory clean 
[[email protected] hostname /dir]% git pull 
Cannot pull with rebase: You have unstaged changes. 
Please commit or stash them. 
[[email protected] hostname /dir]% git --version 
git version 2.4.8 
[[email protected] hostname /dir]% 
+0

이 질문이 얼마나 도움이되는지 확실하지 않습니다. 나는이 디렉토리에서 무슨 일이 일어 났는지는 분명하지 않다. 나는이 문제들이 미친 NFS 디스크 때문이라고 생각한다. 매우 자주 git/.lock 파일이 남아있는 자식 프로세스없이 주위에 누워 발견. 일단 git clean -fd가 일부 디렉토리가 읽기 전용으로 인해 실패했습니다. 그래서이 질문을 삭제하는 것이 좋습니다. 물론 대답은 문제를 디버그하는 방법에 도움이됩니다. –

답변

1

git-pull.sh (힘내에서 버전 2.4.8은)는 git rebase을 실행하는 git pull 할 OK입니다 있는지 확인하기 위해 호출 자체가 git-sh-setup.sh에서 오는 메시지. git diff-filesgit status 커밋 아무것도 없다는 것을 말한다하더라도, (git-sh-setup.sh에 직접 연결된 라인 위의 라인을 참조) 제로가 아닌 상태로 종료 왜 확실하지 않다 무엇

이다. git diff-files을 수동으로 실행하면 실제 출력을 얻을 수 있습니다.