Git /
LogGit's log function is a very powerful tool, much more than its obvious, already useful standard use would make you think. The first use is simply:
which will allow you to navigate all the commits until the current one on the current branch. This is a great way to see what has been done (provided you have useful commit messages) and to navigate in the history of your repository using checkout. Useful options
Viewing a file's history using git logMore than just showing a log of what has been done in your repository, the log can also show you the entire history of a file. In order to do that, you need:
Together, they would be written as:
|