Git 挂起响应被杀死

标签 git centos

当我运行 git commit 或 git status 时,我得到的响应是 killed。

git commit -am 'added images'
Killed

生成 .git/index.lock 文件后,我可以删除锁定文件并重试,但我一直收到 Killed 响应。

最佳答案

这是由于我在 SSH 中使用 Vagrant 但最初在我的 Mac 上设置了 repo 时进行了提交。基本上我错过了一个事实,即由于 Vagrant,我在两个系统上拥有完全相同的 .git 目录。

关于Git 挂起响应被杀死,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25082672/

相关文章:

php - cron centOS "Could not open input file"错误

git push 在 MacOS Sierra 10.12.5 中失败

git - 在 git log 中很好地显示文件重命名历史

nginx - CentOs Nginx 重定向 https ://www to https://

python - abrt 服务器 : Undefined variable outside of [[ ]] bracket

java - 如何将 boolean 值从 Java 程序返回到 CentOS shell 脚本?

git - 如何在 gitlab 中拒绝 merge 请求

git - 将 svn 仓库与 git 仓库 merge

git - "git repository"究竟指的是什么?

memory - CentOS 中的随机 Inode/Ram 缓存丢失