Color Formatted:
$ git log --no-merges --shortstat --author="Kyle Mitofsky" --date=format:'%m/%d %I:%M %p' --pretty="@%C(yellow)%h %C(green)%cn %C(cyan)%cd %C(reset)- %<(50,trunc)%s"
One Line:
$ git log --no-merges --shortstat --author="Kyle Mitofsky" --date=format:'%m/%d %I:%M %p' --pretty="@%C(yellow)%h %C(green)%cn %C(cyan)%cd %C(reset)- %<(50,trunc)%s" | tr "\n" " " | tr "@" "\n" | sed -r 's/ insertions?| deletions?|[0-9]* files? changed,//g'
- How to change Git log date formats
git log -n 1 --pretty='format:%cd' --date=format:'%Y-%m-%d %H:%M:%S'
- How to exit git log or git diff? type `q
- Git pretty format colors
- View git log without merge commits
--no-merges
- How to make git log cut long comments?
%<(50,trunc)%s
- How can I calculate the number of lines changed between two commits in git?
git diff --shortstat
- How can I view a git log of just one user's commits? `--author="kyle"
- How to get Git log with short stat in one line?
git log --pretty="@%h" --shortstat | tr "\n" " " | tr "@" "\n"