- How To Use Git Log To Show All Your Commits
these some example on how to use git log command i have put together as notes on how to properly use git , Last Updated: Sun Jun 14, 2020
Wed Dec 09, 2015
the simplest command is
this command will show all the commits you have on your project. usually what you need form this report is to get the commit id number.
git log --stat
stat option gives some statistics on to which files have changed on each commit
when you pull up the report, it will show you all the files that were affected for that commit
also when you use the --stat option, the output report will show you which files where affected or changed by the commit.
this command gets the last commit from the repository
git log -n 1