Unswpive git status, difference, add (hang)

The following git commands hang (do not respond) in one of my repositories:

git status
git diff
git stash
git add

The fact that I can’t git addmake me believe that immunity is associated not only with very large files. Since it git stashalso freezes, I don’t think it’s just a problem communicating with the source.

git remote show originshows the expected remote URL. I am working on a branch and verified that it has not been renamed. (FWIW, the source is on a bitbucket.)

All of the above commands respond as expected in another repo, so this is not due to an Internet connection.

Other troubleshooting tips?

+12
source share
3

, git fsck ( ), git gc. git status git commit, ; . , .

+4

   15 , , .

Git 2.20 (Q4 2018) , , , git status - ( , ): .

. ae9af12 (15 2018 .) (pclouds).
(Merged by Junio C Hamano -- [TG42] -- in commit 4d87b38, 19 Oct 2018)

status: ,

, .

  • .
  • (*).

-, , "git status" , -.

(*)      , ,      .     . , git.git, 3     .

+4

Git . git status 2 , :

It took 139.67 seconds to enumerate untracked files. 'status -uno'
may speed it up, but you have to be careful not to forget to add
new files yourself (see 'git help status').

, , git status .

0

Source: https://habr.com/ru/post/1674458/


All Articles