My git push is hanging after appearing to complete the push. I am going git push
Counting objects: 51, done.
Delta compression using up to 2 threads.
C
I wanted to second @Fabio's comment to the original post - that solved it for me.
I'm running my own ad hoc local git server on Raspberry Pi. I forgot to chown
the new bare repo, and pushing the first commit from a remote PC would just hang indefinitely.
This fixed it (running chown
as root or with sudo
):
cd /srv/git
chown git:git -R .git
Replacing
with the name of your repo.