Coder Social home page Coder Social logo

tp-git's Introduction

Git par la pratique

  • Mettez vous en binôme.

  • Créez vous chacun un compte sur GitHub.

  • Dupliquez (fork) le projet TP-Git dans votre espace public.

  • Récupérez sur votre disque dur les sources du projet.

      git clone https://github.com/votrecompte/TP-Git.git
    
  • Indiquez le dépôt officiel :

      cd TP-Git
      git remote add official https://github.com/benel/TP-Git.git
    
  • Sur votre disque dur, ajoutez à la fin de ce fichier le prénom et le nom d'un des membres du binôme. La ligne doit commencer par une étoile. Corrigez la liste pour que la dernière ligne se termine par un point et les autres par des virgules.

  • Faites une révision :

      git checkout -b votrecompte1
      git add README.md
      git commit
    
  • Publiez-la dans votre espace public:

      git push origin votrecompte1
    
  • Ajoutez le prénom et le nom de l'autre membre du binôme selon les mêmes règles que tout à l'heure.

  • Faites une révision :

      git checkout master
      git checkout -b votrecompte2
      git add README.md
      git commit
    
  • Intégrez automatiquement la première branche à une branche d'intégration :

      git checkout master
      git checkout -b votrecompte1-votrecompte2
      git merge votrecompte1
    
  • Essayez d'intégrer la seconde branche à

      git merge votrecompte2
    
  • Réglez le conflit. Modifiez la mise en page de la liste pour qu'elle soit correcte. Puis déclarez que le conflit est réglé :

      git add README.md
      git commit
    
  • Une fois que le conflit est réglé par une révision, publiez l'ensemble des révisions dans votre espace public :

      git push origin votrecompte1-votrecompte2
    
  • Dans GitHub faites une demande d'intégration (pull request).

  • Supposons maitenant que la branche officielle soit en déshérence et que vous décidiez de prendre la relève. Récupérez la dernière version officielle :

      git pull official master
    
  • Récupérez la demande d'intégration d'un de vos collègues :

      git pull https://github.com/nomducollegue/TP-Git.git nomdesabranche
    
  • Réglez le conflit. Mettez à jour votre branche maître. Publiez.

Liste des étudiants ayant réussi ce TP

  • Xiaowen ZHANG,
  • Maximilien TYC,
  • Hamza TOUNZI,
  • Jérémy GIGNON,
  • Brigitte PINDRA,
  • Devansh PARNAMI,
  • Jessy MAUCLAIR-RICHALET,
  • Antoine VIANDON,
  • Elhadji SARR,
  • Antoine Catton,
  • Tony TOP,
  • Xavier MAILLOT,
  • Cédric FELIZARD,
  • Ayoub MOURAD,
  • Danièle WEULASSAGOU,
  • Matthieu BLOCH,
  • Maxime COUASNON,
  • Zhiying GU,
  • Kaixiang ZHANG,
  • Yipeng HUANG,
  • Stephane BERTHELOT,
  • Jérémie JALOUZET,
  • Alexandre RAOUL,
  • Gabriel KAAM,
  • Nicolas Isaac,
  • Thibault Jacquemet,
  • Mickael Francisco,
  • Christophe MORE,
  • Mohammed Ouadghiri,
  • Togui Ilyass,
  • Nadia Kamoun,
  • Simon Renoult,
  • Arthur Bourjac,
  • Darya Ciuhrii,
  • Florent Segouin,
  • Sébastien Inion,
  • Maxime CHAMONT,
  • Anouar FOURTI,
  • Loic Moinet,
  • Vincent Courtade,
  • Kevin Maciolek,
  • Adrien SAUNIER,
  • Yann CARBONNE (FTW),
  • Alexis Brandao,
  • Félicien BROCHU,
  • Maxime LAIGRE,
  • Joffrey COULON,
  • Sebastien PECOUL,
  • Joseph Le,
  • Guokan SHANG,
  • Florian BRUNIAUX,
  • Alexis DEPREZ,
  • Qing ZHANG,
  • Jimmy PAUPHILET,
  • Bastien Jorge,
  • Guillaume DAIX,
  • Pablo PRUDHOMMEAU,
  • Mélanie Araujo Martins,
  • Andre Marvell IKOUNGA,
  • Julie ROMERO,
  • Valentin LEFEVRE,
  • Jonathan SERRA,
  • Meheza SAMIE,
  • Changru LU,
  • Adrien AMOROS,
  • Martin Lagrange,
  • Edward Njango,
  • Sidjui Constant,
  • Marie Chidaine,
  • Romain Barre,
  • Oumou Salamata THIAM,
  • Cyprien Guillemot,
  • Romain GAGNAIRE,
  • Clement DOSDA,
  • Valentin BONINO,
  • Baptiste LOMBARDO.

tp-git's People

Contributors

benel avatar yeahger avatar valentinlefevre avatar samiemeheza avatar vince344 avatar yipenghuang avatar brochu-laigre avatar anouarf avatar hamzatounzi avatar simonrenoult avatar xiaowen1106 avatar luwangel avatar adeprez avatar florianbruniaux avatar felizarc avatar danieleweulassagou avatar edwil13x avatar elhadjisarr avatar guzhiying avatar bj0rge avatar joffcln avatar i-togui avatar mchidaine avatar salamata avatar andremarvell avatar acatton avatar thibaultjacquemet avatar micfrancisco avatar gagnaire-romain avatar guokan-shang avatar

Watchers

James Cloos avatar Maxime Cottret avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.