Compare commits

...

6 commits

Author SHA1 Message Date
ae7ed7f7ca Merge branch 'master' of sall/init_git_test into master
ajout de
2022-03-03 16:33:31 +01:00
38ea43f774 Merge branch 'une-branch' of leban/init_git_test into master
notitre
2022-03-03 16:32:52 +01:00
Sall Adama
126d4e0f27 nexp 2022-03-03 16:31:31 +01:00
Gérald LEBAN
6569f13853 Ajout d'un readme 2022-03-03 16:25:12 +01:00
0b53a3bfb4 Merge branch 'master' of krohg/init_fork_test into master
petit message en plus dans le git
2022-03-03 16:03:12 +01:00
Roche Stephane
e49b930dd6 chtite modif 2022-03-03 16:00:11 +01:00
4 changed files with 43 additions and 0 deletions

1
Test Submodule

@ -0,0 +1 @@
Subproject commit 413853d647ed6f3a4e92f327af0624162baa8b6c

0
de Normal file
View file

1
readme.md Normal file
View file

@ -0,0 +1 @@
# Init Git Test

41
un peu de git Normal file
View file

@ -0,0 +1,41 @@
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