Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| prog:git [2023/06/17 14:01] – modification externe 127.0.0.1 | prog:git [2025/08/26 19:26] (Version actuelle) – cb | ||
|---|---|---|---|
| Ligne 19: | Ligne 19: | ||
| git config --global user.name " | git config --global user.name " | ||
| git config --global user.email " | git config --global user.email " | ||
| + | git config --global init.defaultBranch <nom> | ||
| + | |||
| cd existing_folder | cd existing_folder | ||
| Ligne 63: | Ligne 65: | ||
| + | ===== Changer d' | ||
| + | < | ||
| + | # voir les dépots distants actuels | ||
| + | git remote -v | ||
| + | # changement de dépot | ||
| + | git remote set-url origin git@url.com/ | ||
| + | </ | ||
| + | |||
| + | ===== supprimer des fichier ===== | ||
| + | < | ||
| + | git add -u | ||
| + | git commit -m " | ||
| + | git push | ||
| + | </ | ||
| [[prog: | [[prog: | ||