0
有人可以向我解釋下面的輸出嗎?git-status報告一切都乾淨,但git-pull抱怨未執行的更改
[[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]%
我不確定這個問題有多大的幫助。我還不清楚這裏發生了什麼 - 也因爲我刪除了有問題的目錄。我認爲這些問題是由一個瘋狂的NFS磁盤造成的。很多時候我發現一個.git/.lock文件沒有任何剩餘的git進程。一旦git clean -fd由於某些目錄只讀而失敗。所以我很好,刪除這個問題。當然,從如何調試問題的角度來看,答案是有幫助的。 –