Search code examples
gitgit-rebasegit-pull

git pull rebase freeze


I am able to pull succesfully previosuly, but today when I do git pull --rebase, it just shows this message

"Updating b4b1294473..22ceb04d88"

and it get stuck there forever.

It takes a lot of time to setup the git workspace, is there a workaround?


Solution

  • I suggest you to inspect what git process is doing by tracing it with the following command:

    strace -e trace=%network,%file git {{command line parameters}}
    

    You should redirect the output to a file to inspect better the issue:

    strace -e trace=%network,%file git {{command line parameters}} 2>&1 | tee /tmp/git.log