Lo scenario è il seguente:Git push riattaccato che porta a problemi Internet
Ho il codice sorgente Android (aosp) sincronizzato. Voglio fare una "forchetta" nel mio repository. Ma dal momento che non ero in grado di trovare un modo di biforcare solo un ramo specifico e non l'intero repo, ho deciso di spingerlo manualmente. Per questo, ho creato un nuovo repository su github.
mio progetto ha due telecomandi:
* 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
ho provato a spingere seguendo il metodo:
#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
L'uscita è il seguente:
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)
E poi rimane Là. Una piccola ricerca sul web mi ha detto che dovrebbe essere così, quindi considero normale. Ma dopo qualche tempo, tutta la mia internet smette di funzionare. System Monitor mostra ancora la normale velocità di upload e così via, ma non sono in grado di utilizzare internet. Si inizia me questo dà su ogni/qualsiasi pagina web:
Anche qualsiasi pagina web apro sul telefono per mezzo wifi dà lo stesso risultato. E devo riavviare il mio modem per superare questo errore/bug.
Ho anche provato a utilizzare git config http.postBuffer 1825361101
(di nuovo, a seguito di ricerca sul web) prima del git push
ma non aiuta neanche.
Per favore aiutami a risolvere questo problema. Sono abbastanza nuovo per github, sto ancora cercando di capire un sacco di cose. Grazie.