Git Product home page Git Product logo

gitestmds's Introduction

documentation

commandes de base

  • git init : Permet d'initialiser un repository local
  • git add . : Permet d'ajouter les modifications de tous les fichiers à l'indexation
  • git add <file> : Permet d'ajouter uniquement les modification de <file> à l'indexation
  • git commit -m "<message>" : Permet de sauvegarder l'indexation en spécifiant un message
  • git push -u origin <branch> : Permet d'envoyer les commit locaux sur le repository distant. (la <branch> par défaut est "master"). N'est valable que pour le premier push
  • git push : Permet d'envoyer les commits locaux sur le repository. Ne fonctionne qu'à partir du 2ème push.
  • git restore <file> : Permet de restaurer le fichier <file> à son étata d'indexation

Branches

  • git branch : Permet de voir l'ensemble des branches
  • git branch <nom> : Permet d'ajouter une branche du nom de <nom>
  • git checkout <branch> : Permet de changer de branche
  • git branch -d <branch> : Permet de supprimer une branche en local
  • git push origin --delete <branch> : Permet de supprimer une branche distante
  • git merge <branch> : Permet de fusionner la branche <branche>sur la branche actuelle

gitestmds's People

Contributors

kevinniel avatar cryserrrrr 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.