-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsheat cheet github
More file actions
28 lines (13 loc) · 803 Bytes
/
sheat cheet github
File metadata and controls
28 lines (13 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
creer le repos coté web
git init ==> initialisation du repos sur le pc
git remote bashy -m originURL https://github.com/backl1n/bashy
--------------------------------------------------
ajouter des fichier et les push
git add bashy.sh chemin du dossier pour upload les fichiers
git commit -m "message" sert a mettre a message et modifier coté distant
git push origin master
-------------------------------------------------------
pour synchroniser un projet sur un autre pc
git clone url du depot
si modification sur un autre pc qui a ete push sur le repot distant
git pull ==> a executer sur le pc pas synchroniser