If you want to get history of your git repository then you can use simply:
git log
This will return you all commits.
If you want to check changes made in a particular commit then you can use:
git show "SHA-1 key"
SHA-1 is you commit key. When you will use "git log" then it will come after word "Commit" in form of "ef0df940fca4b9e1a22f0efc7c28558155c87e32"
this will return all modification in this particular commit.
"git log" will return history of all branches. If you want to check history of a particular branch then you can use following command:
git log master..branch1
This will list all commits of branch1.
For more information about logs you can check Git branches
0 Comment(s)