How to see log changes by commit id

You can see git log by commit id via below terminal command, just you have to pass your git commit id and options. then you will see magic. git is very powerful tool. it track all changes and also manage your code version.

I am always using git. it is also help to keep save our code on cloud base. so we can access our code anywhere in this university.

git diff-tree -p yourcommitidhere

git show --color --pretty=format:%b yourcommitidhere
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply