Git - Envoyer un nouveau projet sur GitLab.TXT 378 B

123456789101112131415161718
  1. Pour charger un nouveau projet sur GitLab:
  2. Sur Gitlab:
  3. Créer le projet
  4. Dans Git Bash:
  5. >> cd /path/to/my/repo
  6. # creer le depot
  7. git remote add origin http://url/projet.git
  8. git push -u origin --all # pushes up the repo and its refs for the first time
  9. git push -u origin --tags # pushes up any tags
  10. Note: 'origin' est (par convention) le nom du dépot par défaut d'un projet