Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git Hanging Response Killed

Tags:

git

centos

When I run a git commit or git status I am getting a response of killed.

git commit -am 'added images'
Killed

After a .git/index.lock file is generated, I can delete the lock file and try again but I keep getting the response Killed.

like image 804
JoshNykamp Avatar asked Jun 24 '26 19:06

JoshNykamp


1 Answers

This was caused by doing a commit while I was using Vagrant in SSH but having the repo initially set up on my Mac. Basically I missed the fact that I had the exact same .git directory on two systems because of Vagrant.

like image 131
JoshNykamp Avatar answered Jun 26 '26 07:06

JoshNykamp