dépôt pour faire quelques manipulations d'initiation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

un peu de git 933B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. 1/prendre lien (gitea, github)
  2. 2/ git clone <url>
  3. username : nom utilisateur du compte ciblé
  4. password : TOKEN LIE AU COMPTE GIT
  5. mon token par exemple (git_test) : 8b6380197c4e7afc0f4e1115d45d81c961644f79
  6. //
  7. commit :
  8. git checkout <nombranche>
  9. (creation branche : git branch <nombranche>)
  10. (ajouter modif : git add <fichier modifié> si on met un point (.) ça sélectionne tout)
  11. (consulter modif : git diff)
  12. git commit (ajouter titre explicite pas trop long + détails)
  13. historique des commit : git log
  14. //de façon la plus locale, chez soi
  15. //
  16. git push
  17. //pour étendre à d'autres
  18. possibilité de fork
  19. -> Pull Request : incorporer mes changements à l'origine (demande et au proprio de merge ou non)
  20. repository cible + branche cible + repo modif + branche modif
  21. étapes importantes :
  22. touch <fichier>
  23. git init
  24. git add <fichier>
  25. git commit -m "first commit"
  26. git remote add origin <lien gitetud>
  27. git push -u origin master