View log
Git log
After you have created several commits, or if you have cloned a repository with an existing commit history, you’ll probably want to look back to see what has happened. The most basic and powerful tool to do this is the git log
command.
By default, with no arguments, git log
lists the commits made in that repository in reverse chronological order; that is, the most recent commits show up first. As you can see, this command lists each commit with its SHA-1 checksum, the author’s name and email, the date written, and the commit message.
One line log
A huge number and variety of options to the git log
command are available to show you exactly what you’re looking for. Here, we’ll show you some of the most popular.
Other options
Last updated