Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git push origin hangs after the total message

Tags:

git

github

After executing git push origin master on github, the push hangs and nothing happens. I'm using https://[email protected]. At first I had the error first that the http.postbuffer is too small and i changed it to http.postbuffer=209715200. Now it hangs after the Total line:

Counting objects: 203, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (197/197), done.
Writing objects: 100% (201/201), 49.41 MiB | 11.07 MiB/s, done.
Total 201 (delta 37), reused 0 (delta 0)

EDIT: There are no proxies involved

like image 841
aphex Avatar asked Mar 13 '13 11:03

aphex


People also ask

Why is git push origin main not working?

If git push origin master not working , all you need to do is edit that file with your favourite editor and change the URL = setting to your new location. Assuming the new repository is correctly set up and you have your URL right, you'll easily be able to push and pull to and from your new remote location.

Why is git push taking so long?

If you are starting a new project from a clone, (from the CLI without a fork) when you push to a blank remote you are pushing the entire history of the project you just cloned. This is going to take some time. If you just need the clone as it stands and you don't want the history, delete the .

What are the issues when a git push doesn't work?

You need to use git pull and resolve the difference between your local changes and the remote changes before you can git push . There is still a commit in the remote branch initializing the repo that may not be in your local version.

What happens after git push origin master?

Git Push Origin pushes all the branches to the main branch. Git Push Origin Master pushes your master branch to the origin. Behavior could be changed via git config.


1 Answers

You may have to wait for it to finish. There is no progress bar so it looks like it's stopped but it hasn't.

like image 58
Luke Femur Avatar answered Sep 29 '22 04:09

Luke Femur