I want to list all commits 'since my last commit'.
Right now i use this log-alias variant:
[user]
name = My Name
[alias]
lg = !git log --since $(git log --pretty=format:'%ct' --author 'My Name' -1)
That works fine in general - but i would like to actually reference my username stated in the .gitconfig instead of hardcoding it.
Is it possible to access that value? (e.g.: $(GITCONFIG:User:Name)
)
Just in case: $(whoami)
does not work because the usernames don't match.