Format - GradedJestRisk/git-training GitHub Wiki
output formats for --pretty=""
, eg --pretty="%cd"
shows commit date
Handful:
- commit
- hash (abbr):
%h
- parent hash (abbr):
%p
- date:
%cd
- subject:
%s
- commiter name:
%cd
- hash (abbr):
- get diff
--patch
- remove context
--unified=0