@daisha
To view the Git commit history, you can use the following command:
1
|
git log |
This command displays a list of commits in reverse chronological order, with the most recent commit appearing first. Each commit is displayed with information such as the commit hash, author, date, and commit message.
You can also use various options with the git log
command to customize the output. For example, you can use the --oneline
option to display each commit on a single line, or the --graph
option to show a graphical representation of the commit history.
Here are some common options that can be used with git log
:
You can combine these options to filter and customize the commit history according to your needs.