Outils pour utilisateurs

Outils du site


dev:git

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
dev:git [2024/03/12 14:48] – [à voir] sbesteldev:git [2024/03/12 14:54] (Version actuelle) – [GIT] sbestel
Ligne 1: Ligne 1:
 ====== GIT ====== ====== GIT ======
  
 +  * générique : 
 +   git status 
 +   git log 
 +   git clean-f 
 +   git show
 ===== Mettre à jour un repo Git ===== ===== Mettre à jour un repo Git =====
  
Ligne 31: Ligne 35:
    git branch -M main    git branch -M main
    git push -uf origin main    git push -uf origin main
 +   
 +   git remote -v show
 +   git fetch gitlab
 +   git push
 +
 +===== config =====
 +
 +   nano .git/config
  
 ===== à voir ===== ===== à voir =====
Ligne 38: Ligne 50:
    git switch --create main    git switch --create main
    git rebase -i --root    git rebase -i --root
 +   git remote add origin https://gitlab.com/vmusers/easyap-la.git
        
dev/git.1710254933.txt.gz · Dernière modification : 2024/03/12 14:48 de sbestel