I am working on a project that is starting to create issues with git. I am using gitlab to host the repository.
I am working with the same "method" on other projects, but sometimes the "push" does not finish and no data is updated on the remote repository.
sometimes git push does not finish, see the screenshot below. I can wait hours, but its not finishing. I have to cancel the progress and do a hard reset to my local files and copy them back to the directory and try again. then it works.
My questions: How can I find out what the problem is? How con I fix it? (What information can I collect to help you guys/girls helping my troubleshoot it)
Thanks
edit:
If I do
git push --verbose
i get a similar result:
upload/push does not finish.
Try uninstall git and reinstall it. The latest current version of git is the version 2.47.0
Here is how you can reinstall git :
sudo apt-get purge git
sudo apt-get autoremove
sudo apt-get install git
After that you can try again to push.
One more possible reason your git push hangs is that you are trying to push a very large file.
I see you are pushing some blend files. Check if the size of the file is not too big, if the size of the file is very large you can increase the Git post buffer size to fix this issue.
Here is how you can increase it locally:
git config --local http.postBuffer 524288000
or globally:
git config --global http.postBuffer 524288000
Another issue with the Garbage collector you can try to run that command :
git gc
And try again to push