Git log with full diff
Git log full-text with search
git log -p | grep <SEARCH_STRING>
Git log of a single file
$> git log -p --follow <PATH/FILENAME>
Git log of a single commit
todo
Git diff between two branches
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative master..myBranchName
Git diff of a single branch from date range
git log --since="1 week ago" --until="yesterday"
Find out when a branch was created
git show --summary `git merge-base mySuperBranchName master`
t
See also How to colourize diff output to HTML
Recent Comments