Git push freezes leading to internet issues

The scenario is as follows:

I have Android source code (aosp). I want to make this plug in my repository. But since I could not find a way to branch out only a specific branch, and not the entire repo, I decided to manually click it. To do this, I created a new open repository on github.

My project has two remotes:

* aosp = https://android.googlesource.com/path_to_project.git #The default remote using which I synced repo * upstream = https://github.com/<my github user-name>/<newly created repo name>.git #The remote I added manually 

I tried to click it in the following way:

 #First added remote to that bare repository git remote add upstream https://github.com/<my github user-name>/<newly created repo name>.git #This is the branch for which I want to fork that project git checkout -b kitkat-mr2.2-release #I want the branch to be named kitkat in my own repo git push -u upstream kitkat-mr2.2-release:kitkat 

The output is as follows:

 Counting objects: 869653, done. Delta compression using up to 8 threads. Compressing objects: 100% (200676/200676), done. Writing objects: 100% (869653/869653), 1.23 GiB | 101.65 MiB/s, done Total 869653 (delta 582065), reused 867347 (delta 581182) 

And then he stays there. A little web search told me that this should be so, so I find it normal. But once my internet stops working. System Monitor still shows normal download speed, etc., but I can not use the Internet. This starts giving me this on every / any web page:

enter image description here

Even any webpage that I open over the phone using Wi-Fi gives the same result. And I have to restart the modem in order to get through this error / error.

I also tried using git config http.postBuffer 1825361101 (again, a web search result) before git push , but that doesn't help either.

Please help me solve this problem. I'm new to github, still trying to understand a lot. Thanks.

+5
source share
1 answer

With further exploration of the problem, I found this solution that seems to work:

 git config --global sendpack.sideband false 

Now git push is working fine.

+2
source

All Articles