Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git add command fails and keeps running

Tags:

git

I run command:

git add .

and get:

Killed: 9

It stops me running any git commands with a lock.

What is wrong with my git, I've tried rebooting, removing the directory and starting over with a new repo.

like image 855
el_pup_le Avatar asked Nov 02 '16 08:11

el_pup_le


1 Answers

I was able to solve the same issue by adding things (that should not be in Git) to .gitignore. In my specific case, there was a nested directory which had a Python virtualenv directory.

After adding venv/ to my .gitignore and committing, I was finally able to commit the directory.

like image 67
senorsmile Avatar answered Oct 22 '22 01:10

senorsmile