Piste :
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 [2022/11/12 09:00] – [Git] cb | prog:git [2024/04/03 14:04] (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 62: | Ligne 64: | ||
[[https:// | [[https:// | ||
+ | |||
+ | ===== Changer d' | ||
+ | < | ||
+ | # voir les dépots distants actuels | ||
+ | git remote -v | ||
+ | # changement de dépot | ||
+ | git remote set-url origin git@url.com/ | ||
+ | </ | ||
[[prog: | [[prog: |