informatique:git
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
informatique:git [2023/05/09 09:06] – created yahiko | informatique:git [2023/06/09 10:13] – yahiko | ||
---|---|---|---|
Line 4: | Line 4: | ||
https:// | https:// | ||
- | ===== Se connecter | + | ===== S' |
< | < | ||
git config --global user.name " | git config --global user.name " | ||
Line 20: | Line 20: | ||
git branch -M main | git branch -M main | ||
git push -uf origin main | git push -uf origin main | ||
+ | </ | ||
+ | |||
+ | ===== Ajouter des trucs au dépot ===== | ||
+ | < | ||
+ | cd dossier_repo | ||
+ | git add [dossier ou fichier] | ||
+ | git commit -m " | ||
+ | git push | ||
</ | </ |
informatique/git.txt · Last modified: 2024/04/09 09:06 by yahiko