Outils pour utilisateurs

Outils du site


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
git [2026/04/24 10:32] wadmingit [2026/06/03 17:06] (Version actuelle) – add git show wadmin
Ligne 5: Ligne 5:
     * pour les voir ''git stash list'',      * pour les voir ''git stash list'', 
     * pour appliquer la première modif ''git stash pop''     * pour appliquer la première modif ''git stash pop''
 +    * pour voir les diff : ''git stash show -U''
   * afficher le graphique des branches ''git log --all --decorate --oneline --graph''    * afficher le graphique des branches ''git log --all --decorate --oneline --graph'' 
     * ou ''git adog'' voir https://stackoverflow.com/a/35075021/10967760     * ou ''git adog'' voir https://stackoverflow.com/a/35075021/10967760
 +  * pour voir un l’état d’un fichier lors d’un commit : ''git show comitID:path''
   * annuler un commit ''git revert HASH''   * annuler un commit ''git revert HASH''
   * créer une branche et sauter dedans ''git switch -c <name>''   * créer une branche et sauter dedans ''git switch -c <name>''
 +  * éditer le message du commit précédent : ''git commit --amend''
git.1777019523.txt.gz · Dernière modification : de wadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki