ho clonato un repository git e poi verificato un tag:tag git checkout, git pull fallisce nel ramo
# git checkout 2.4.33 -b my_branch
Questo è OK, ma quando provo a fare funzionare git pull
nel mio ramo, git sputa fuori questo errore:
There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream new origin/<branch>
voglio git pull
aggiornare solo ramo principale e lasciare il mio ramo corrente da solo (si tratta di un tag in ogni caso). È possibile qualcosa del genere?
La ragione per cui ho bisogno di questo è che ho uno script automatico che sempre git tira il repository e, naturalmente, non riesce a causa dell'errore di cui sopra ..
Possibile duplicato di [git pull: non ci sono informazioni di tracciamento per il ramo attuale] (http://stackoverflow.com/questions/32056324/git-pull-there-is-no- tracking-information-per-the-current-branch) – daisy