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
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.
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 .
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With