Coder Social home page Coder Social logo

samir's Introduction

TRAINING GIT - EXERCICES - SAMIR AWARDS

Résumé

  • Travailler par équipe de 2 !
  • Utilisation des commandes vues au cours
  • Utilisation des notions vues au cours

Exercice 1 à réaliser

  • Chacun d'entre vous, vous allez cloner le repo sur votre machine
  • Créer un repository Git sur votre compte github
  • Vous allez, chacun d'entre vous, changer la remote du projet et mettre votre remote
  • Créer chacun un fichier index.html avec un corps html classique -> (link)
  • Ajouter et commiter cet ajout de fichier
  • Pusher
  • Rajouter un dossier /none et y mettre un fichier test.txt dedans
  • Faire un git status
  • Rajouter un fichier .gitignore et ajouter le dosser /none dedans
  • Refaire un git status afin de vérifier l'état de votre repository
  • Envoyer en ligne votre fichier .gitignore
  • Ajouter un tag et pusher

Exercice 2 à réaliser par 2!

  • Choisir un des 2 repos à utiliser
  • Créer une branche develop dessus
  • Fetch les datas pour la 2éme personne afin d'avoir connaissance des branches existantes
  • Créer votre propre branche chacun
  • Réaliser différentes modifications sur le fichier index.html
  • Envoyer sur votre branche en ligne une partie uniquement de vos modifications
  • Le 1er va mettre sur develop sa branche et la supprimer en ligne de commande
  • Le 2éme va mettre en ligne sa partie de modifications, ATTENTION AUX BONNES PRATIQUES !
  • Mettre les modifications sur master
  • Tous les 2, aller dans la branche non supprimée de la 2éme personne
  • Faire des modifications, et tout indéxer
  • Créer un commit
  • Modifier chacun d'entre vous le commit précédent en mettant votre prénom et nom dessus
  • Montrer au prof comment faire cela.
  • Tout pusher
  • Ajouter un tag et pusher

samir's People

Contributors

samirhanini avatar spymannn avatar josnipa avatar mrachid avatar

Watchers

James Cloos 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.