J'ai préparé un alias pour obtenir un rapport court journal dans gitComment imprimer la première lettre de committer dans git log?
# excerpt from ~/.gitconfig
[alias]
lg = log --all --oneline --graph --decorate --pretty='%C(auto)%h %Cgreen%ai %C(reset)%C(auto)%s %d'
git lg
génère une belle ligne par engagement, mais sans informations sur l'utilisateur:
* 623beff 2016-11-14 14:18:36 +0100 extended plotstyle option and automatic colors
ou capture d'écran:
Mais je veux voir les lettres initiales du nom réel committers (le nom complet est parfois trop long) dans chaque ligne:
* 623beff 2016-11-14 14:18:36 +0100 (J.S.) extended plotstyle option and automatic colors
Comment puis-je obtenir ce résultat?