Browse Source

chtite modif

Roche Stephane 2 years ago
parent
commit
e49b930dd6
2 changed files with 42 additions and 0 deletions
  1. 1
    0
      Test
  2. 41
    0
      un peu de git

+ 1
- 0
Test

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

+ 41
- 0
un peu de git View File

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

Loading…
Cancel
Save