Why is git pulling hanging?

When I do git pull , from git bash, the terminal usually starts pull, updates my local ones, and then freezes. I'm not sure if he is waiting for me to do something, but I usually exit this with CTRL-C . After that, I get that index.lock is stopping me from doing other things that I have to remove them to. I don't understand how git pull works?

+5
source share
2 answers

I am on Windows and I decided to hang by closing Visual Studio before doing pull.

0
source

If you are pulling from a Linux machine, you can check this file:

/etc/ssh/ssh_config

To make sure you are not setting your default SSH port for anything other than 22. Some people get confused between this file and:

/etc/ssh/sshd_config

When they configure the servers to a non-standard SSH port.

-1
source

All Articles