Requirements
To follow this setup, it is required to have following โฆ
โข
No Requirements
Log [git log]
Shows the commit logs.
List commits that are reachable by following theย parentย links from the given commit(s), but exclude commits that are reachable from the one(s) given with aย ^ย in front of them. The output is given in reverse chronological order by default.
Synopsis [git log --<synopsis>]
git log [<options>] [<revision-range>] [[--] <path>โฆ]
YAML
๋ณต์ฌ
Commonly Used Commands
โข
View changes
โฆ
git log -p
โข
Set # of logs
โฆ
git log -<# of commits>
โข
View in stats
โฆ
git log --shortstat
โข
View briefly
โฆ
git log --oneline
โข
Search logs
โฆ
Search from changes
โช
git log -S <Word to search>
โฆ
Search from the commit messages
โช
git log --grep <word to search>
โข
View log graph
โฆ
git log --all --decorate --oneline --graph
โฆ
git log --graph --all --pretty=format:'%C(yellow) %h %C(reset)%C(blue)%ad%C(reset) : %C(white)%s %C(bold green)-- %an%C(reset) %C(bold red)%d%C(reset)' --date=short



