Error Killed: 9 after command "git add ."

django, git, virtualenv

Solution

This happens if you are adding your virtualenv to git.

Solution: Add the path to your virtualenv in your `.gitignore` file. Now you can `git add --all`

Recommended further reading:

Is it bad to have my virtualenv directory inside my git repository?

Problem

I have a problem when I do "git add ." I received an error message "Killed: 9". If I try again "git add ." I received an another error: fatal: Unable to create './crmeasy/.git/index.lock': File exists. ``` Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. ``` If I delete ./.git/index.lock file and try again I receive the same cycle of errors. I try to commit new empty Django project virtualenv dir. How could I solve the issue?

Original source

Related problems