Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
|
git:trucs_et_astuces [2017/08/30 17:06] marc dexet créée |
git:trucs_et_astuces [2017/08/30 17:07] (Version actuelle) marc dexet [Pour obtenir un bel historique] |
||
|---|---|---|---|
| Ligne 9: | Ligne 9: | ||
| la commande | la commande | ||
| - | git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | + | git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
| - | permet d'associer | + | permet d'associer l'alias |
| - | git lg à des | + | git lg |
| + | |||
| + | à un descriptif plus agréable. | ||