Git Product home page Git Product logo

git-github5's Introduction

LOCAL

Git-GitHub5

Crée un nouveau dépôt sur GitHub, en cochant "Initialize this repository with a README".
Toujours dans GitHub, écris quelques lignes de texte dans le fichier README.md.
Clone le repo.
Sur GitHub, écris "REMOTE" sur la première ligne du README.md et fais un commit pour ce changement.
Localement (sur ton ordinateur), dans ton éditeur de code préféré, modifie également la première ligne du README.md (écris "LOCAL") et valide la modification.
Dans ton Terminal, fais un "git pull" et Un joli petit conflit apparaîtra !
Réouvre ton éditeur, résous le conflit dans le README.md (choisis de garder "LOCAL") et fais un commit pour ce changement.
Fais une nouvelle tentative, Git te dira que tu es déjà à jour. Le conflit est réglé !
Envoie tes modifications au repo distant en faisant un git push origin master.
Dans GitHub, ouvres le README.md et assure-toi que "LOCAL" est maintenant sur la première ligne. Bien joué !
Copie le contenu de ton terminal du premier git pull (étape 6 de ces instructions) jusqu'à la fin et colle-le dans un pastebin.
Partage le lien du pastebin créé comme solution à ce défi.

git-github5's People

Contributors

aichoun-c 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.