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 [2025/08/26 19:26] (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 63: Ligne 65:
  
  
 +===== 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>
 +
 +===== supprimer des fichier =====
 +<code>
 +git add -u
 +git commit -m "commentaire"
 +git push
 +</code>
 [[prog:index|Retour programmation]] [[prog:index|Retour programmation]]