Walter Bright, el 11 de February a las 12:21 me escribiste: > > On 2/11/2013 1:59 AM, kenji hara wrote: > > > >--- commang example > ># fetch all remote branches > >git fetch upstream > > How is that different from "git remote update" ?
git fetch upstream will only fetch new stuff from the upstream remote repository and will set the FETCH_HEAD reference. git remove update will fetch new stuff from all the remote repositories without touching FETCH_HEAD. > ># Forcely re-tagging > >git tag -f v2.062-b1 upstream/staging~0 > > What is the ~0 for? It has no effect, I don't know why he used it. REF~N is used to specify the Nth commit before the reference REF (for example HEAD~3 is 3 commits before HEAD, and is the same as specifying HEAD^^^). So REF~0 is the same as REF. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- "CIRILO" Y "SIRACUSA" DE "SEÑORITA MAESTRA": UNO MUERTO Y OTRO PRESO -- Crónica TV _______________________________________________ dmd-internals mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-internals
