早些时候,我遇到了一个 git 问题,其中
# On branch master
# Your branch is ahead of 'origin/master' by 3 commits.
#
我通过遵循另一个堆栈问题来解决它,该问题说尝试git fetch origin
,这使所有内容都保持最新状态。
现在,当我在某些测试用例上运行 rspec 时,我得到
No DRb server is running. Running in local process instead ... No examples were matched. Perhaps {:if=>#<Proc:0x00000101888ab8@/Users/matthew/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:50 (lambda)>, :unless=>#<Proc:0x00000101888a90@/Users/matthew/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:51 (lambda)>} is excluding everything?
在 0.0001 秒内完成0 个示例,0 个失败
谁能澄清出了什么问题?git fetch 命令是否搞砸了一些配置?
git fetch
不会影响您的工作目录。这里可能还有其他事情发生。