Installed git.

git status works, but the terminal stops responding with the git add . command git add .

I tried rebooting, reinstalling and sudo apt-get update .

What could be the problem and how to fix it?

Closed due to the fact that it was off topic by participants aleksandr barakin , Visman , ermak0ff , PashaPash , Dmitriy Simushev 1 Oct '15 at 9:01 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - aleksandr barakin, Visman, ermak0ff, PashaPash
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • one
    Please attach the output of this command to the question: mkdir /tmp/test && cd /tmp/test && git init && touch file && git add file && git status . - aleksandr barakin

1 answer 1

Already figured out. Apparently when installing packages, the repository file was damaged. Installed in another folder - it became ok. Thank.