Log
Wednesday, January 17, 2018
5:31 AM
*shorter results
git log --oneline
git log --until="2018-12-31"
git log --before="2018-12-31"
git log --after="2018-12-31"
git log --since="2 weeks ago" --until="3 days ago"
git log --since=2.weeks --until=3.days
git log --author="Kevin"
git log --author="Kevin Skoglund"
git log --grep="temp"
git log 2907d12..acf8750 --oneline
ie:  Give the logs that affect this particular file "[file]"
git log c4b913e.. [file]
#patch:  shows the diff for each commits
git log -p
# use stat and summary together or seperately
git log --stat --summary
#most useful
git log --format=oneline
git log --oneline
git log --format=short
git log --format=medium
git log --format=full
git log --format=fuller
git log --format=email
git log --format=raw
#really useful
git log --graph
#A nice combination of them is 
#This seems to be the new default view when viewing logs, when a branch exists in this newer version
git log --graph  --oneline --decorate --all
# example where we want to limit the log entries igit will present us
git log branch_name --oneline -3
#merge tools:  There are lots of available merge tools available on the internet 
#mergetool candidates: opendiff kdiff3 tkdiff xxdiff meld tortoisemerge gvimdiff diffuse #ecmerge p4merge araxis bc3 emerge vimdiff
git mergetool --tool=
Filter logs using --commands
*grep = global regular expressions
git log --grep="Init"
git log --author="Luc"
git log --until="2018-05-15"
git log --since="2018-05-15"
git log --since="2018-05-15"
PATCH