GithubHelp home page GithubHelp logo

gnogit's Introduction

Essai GIT

SSH

  • Création d'un clef SSH
  • Ajout de la clef SSH dans l'IHM GIT

Repo

  • Création d'un repository dans l'IHM GIT ou via git init
  • clone sur le client

1er fichier

  • Ajout d'un fichier (celui-ci)

  • git status

  • git remote -v

  • git add readme.md

  • git commit -m "Message"

  • git config --global user.name Gildas

  • git config --global user.email [email protected]

  • git branch pour lister branches dont la courante

  • git remote add …. pour déclarer la cible

  • Création --> add -> commit --> push | Modification -+

  • Attention si git commit -m "message" -a vs add/commit

  • Attention à l'usage de git rm

  • Deux cas de suppressions :

    • Local & distant git rm xxx
    • Distant seulement git rm --cached xxx
  • le rm nécessite un commit et un push

  • git log pour l'historique

  • git diff (xxx)

  • git checkout pour revenir en arrière sur un code ou un commit

  • A ne pas utiliser si poussé !?

  • Le checkout va créer une branche

  • Si checkout pour retrouver log alors : git log master

A voir

  • Changement passphrase
  • Localisation config
  • PHPStorm
  • git revert

Documentation GIT

Create a new repository on the command line :

gnogit's People

Contributors

krismas avatar

Watchers

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