我不使用 git,但是在升级到 ruby 1.9.3 和 rails 3.017 并使用 cap 进行部署后,我到处都遇到了这些错误:
fatal: Not a git repository (or any of the parent directories): .git
他们似乎没有破坏任何东西,但他们很烦人。我不使用 git,如何让这些消失?
更多信息(这是我看到的)
$ cap pirmtlddemo deploy:long
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
* executing `pirmtlddemo'
* executing `deploy:long'
** transaction: start
* executing `deploy:update_code'
请注意,我在尝试运行 localy (rails s) 时遇到了类似的警告,我通过执行“git init”摆脱了这些警告
谢谢乔尔