Projet

Général

Profil

GitQuizz » Historique » Version 2

« Précédent - Version 2/3 (diff) - Suivant » - Version actuelle
Daniel Dehennin, 17/02/2012 11:24


Apprendre en s’amusant ;-)

Des « remotes » et des espaces de nommages

Quelles sont les différences entre les commandes suivantes :

  1. moi@work:~/src/projet(mabranche): git checkout master
    moi@work:~/src/projet(master): git pull origin
    moi@work:~/src/projet(master): git checkout mabranche
    moi@work:~/src/projet(mabranche): git rebase master
    
  2. moi@work:~/src/projet(mabranche): git fetch origin
    moi@work:~/src/projet(mabranche): git pull
    moi@work:~/src/projet(mabranche): git rebase origin/master