Aliases for colorized form of git log --oneline with commit's time in relative format and actual format.
alias glr='git log --oneline --format="%C(auto)%h %C(green)%ad%Creset %s" --date=relative'
alias gla='git log --graph --pretty=format:"%C(yellow)%h%Creset - %C(bold blue)%an%Creset, %C(green)%ad%Creset : %s" --date=format:"%Y-%m-%d %H:%M:%S"'Sample output for glr
a1b2c3d 2 hours ago Fix login page stylingSample output for gla
* a1b2c3d - John Doe, 2024-03-15 14:30:45 : Fix login page stylingExact author name:
git log --oneline --author="Jane Smith"Partial match (email or username):
git log --oneline --author="[email protected]"or
git log --oneline --author="github_username"Case-insensitive search (regex):
git log --oneline --author="john" --regexp-ignore-case