Browsing the history

Download git eBook


  • git log [options] [revision range] [[--] path...]


Parameter          Explanation
-q, --quietQuiet, suppresses diff output
--sourceShows source of commit
--use-mailmapUse mail map file (changes user info for committing user)
--decorate[=...]Decorate options
--L <n,m:file>Show log for specific range of lines in a file, counting from 1. Starts from line n, goes to line m. Also shows diff.
--show-signatureDisplay signatures of signed commits
-i, --regexp-ignore-caseMatch the regular expression limiting patterns without regard to letter case


References and up-to-date documentation : git-log official documentation

Related Examples


386 Contributors: 31
Tuesday, July 25, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook