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