Review recent commits.
git log --oneline --decorate -10Review recent commits.
git log --oneline --decorate -10Review recent commits.
git log --oneline --decorate -10| Option / clause | Description |
|---|---|
--oneline | Show each commit on one compact line. |
--decorate | Show branch and tag names. |
-n <count> | Limit the number of commits shown. |
--graph | Draw the commit ancestry graph. |
--since=<date> / --author=<pattern> | Filter commits by date or author. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.