Piste :

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
prog:git [2022/11/12 09:00] – [Git] cbprog:git [2024/04/03 14:04] (Version actuelle) cb
Ligne 19: Ligne 19:
 git config --global user.name "prénom nom" git config --global user.name "prénom nom"
 git config --global user.email "mettre ici email" git config --global user.email "mettre ici email"
 +git config --global init.defaultBranch <nom>
 +
  
 cd existing_folder cd existing_folder
Ligne 62: Ligne 64:
 [[https://gitlab.com/-/profile/keys]] [[https://gitlab.com/-/profile/keys]]
  
 +
 +===== Changer d'adresse git ===== 
 +<code>
 +# voir les dépots distants actuels
 +git remote -v 
 +# changement de dépot
 + git remote set-url origin git@url.com/ATLAS/_git/nouveaunom
 +</code>
  
 [[prog:index|Retour programmation]] [[prog:index|Retour programmation]]