Created
April 26, 2021 17:23
-
-
Save learnit-codeit/5e1d9daaa39aa0dd261b17f91dc9ca39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This is the default log command | |
#The command listing out all the commit log. | |
#The log information contains commit ID, Author and date. | |
git log | |
#The below command will print each logs in a single line | |
git log --oneline | |
#The below command will prints files which modified on each commit | |
git log --stat | |
#The below command prints logs including each changes in the file | |
git log --patch | |
or | |
git log -p | |
#The below command enable to print the git log as a graph | |
git log --graph --oneline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment