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
git [2026/04/30 09:28] – add amend wadmingit [2026/06/03 17:06] (Version actuelle) – add git show wadmin
Ligne 8: Ligne 8:
   * 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''   * éditer le message du commit précédent : ''git commit --amend''
git.1777534104.txt.gz · Dernière modification : de wadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki