Logging
As commits are being made, you may want to see whats changes have occurred to the repository or a file within it. For this git logging is useful.
- To see changes within the repository, run
git log
. - If you’d like to see changes to a specific file run
git log [filename]
.
Additionally, you can use one of the following flags if you’d like to increase or decrease the verbosity of the output:
# Standard View
git log [filename]
# Condensed View
git log --oneline [filename]
# Verbose View
git log -p [filename]