Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
git clone throws the error message “fatal: unable to fork”¶
The reason is due to missing SSH.
The solution is simply to install openssh-client.
sudo apt-get install opensshgit pull throw the error message “fatal: early EOF fatal: index-pack failed”¶
There are a few possible reasons that caused this error.
Compression runs out of memory.
Poor network connection.
Below are some possible solutions to this issue.
turn off compression.
git config --global core.compression 0Try with a better network connection.
Do a shallow clone.
git clone --depth 1 repos_urlThe command trieves the latest commit.
Repack remote.
Use Git submodules.
Force push lead to “bad object” message from git rev-list¶
Run the command git fetch first and then try force push again.
https://