Outils pour utilisateurs

Outils du site


hackathlon:pronote:publiergit

Pronote : publier le projet sur GitHub

Mémo

Cloner un dépôt :

$ git clone https://github.com/SIOHackathlon/Visite.git

Publier

  • se placer dans le dossier à gérer contenant les fichier de l'appli
  • cloner le projet distant existant <code> $ git clone https://github.com/SIOHackathlon/stagePronote.git </code>
  • initialiser le dépôt <code> $ git init </code>
  • ajouter les fichiers à suivre <code> $ git add –all </code
  • faire un commit des fichiers avec un message <code> $ git commit -m 'Version 0 à la date du …' </code>
  • créer un alias vers le dépôt distant sur GitHub <code> git remote add stagePronote https://github.com/SIOHackathlon/stagePronote.git </code>
    • publier sur le dépôt GitHub <code> $ git push stagePronote master </code>
hackathlon/pronote/publiergit.txt · Dernière modification : 2017/06/27 15:46 de 127.0.0.1