有人能给我解释一下下面的输出吗?
[user@ 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
[user@ hostname /dir]% git pull
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
[user@ hostname /dir]% git --version
git version 2.4.8
[user@ hostname /dir]%发布于 2017-10-18 07:25:30
消息本身来自git-sh-setup.sh,git-pull.sh (在Git version2.4.8中)调用它来确保可以运行运行git rebase的git pull。
不清楚的是为什么git diff-files以非零状态退出(参见git-sh-setup.sh中直接链接行上方的行),即使git status说没有什么可提交的。手动运行git diff-files以获取其实际输出可能会有所启发。
https://stackoverflow.com/questions/46800460
复制相似问题