Commit 4897044cedbbfe6f250f862ecf0b9a02ef3b921e
1 parent
3a976926
decision
Showing
1 changed file
with
29 additions
and
0 deletions
Show diff stats
README.md
... | ... | @@ -0,0 +1,29 @@ |
1 | +git clone adresse //enregistre dans le dossier courant | |
2 | +git pull //MAJ | |
3 | + | |
4 | +git status //voir fichiers modifiés pas encore ajoutés | |
5 | + | |
6 | +git checkout -b nomdelabranche //crée une nouvelle branche et aller dessus | |
7 | +git checkout nomdelabranche //aller dans la branche déjà créée | |
8 | +git merge nomdelabranche | |
9 | + | |
10 | +git add truc.c // ou git add . | |
11 | +git commit -m 'bonjour close #3' | |
12 | +git push | |
13 | + | |
14 | + | |
15 | + | |
16 | +/* | |
17 | +.bashrc | |
18 | + -> export GIT_SSL_NO_VERIFY=true | |
19 | + Si jamais on ne créer pas de clé sécurité */ | |
20 | + | |
21 | + /*créer la clé :sur github : generating a new SSH key and adding it to the ssh-agent | |
22 | + on fait la démarche sur le site | |
23 | + après soit on fait cat id_rsa.pub ou mieux on fait vim id_rsa.pub comme ça on voit le "fingerprint" | |
24 | + | |
25 | + Dans git : on ajoute cette clé en mettant ce fingerprint*/ | |
26 | + | |
27 | + configurer le compte | |
28 | + git config --global user.name "ldamiens" | |
29 | + git config --global user.email "lutecia.damiens@polytech-lille.net" | ... | ... |