How to find a commit by its hash?


I need to find a commit in Git by a given hash, SHA. For example, if I have the "a2c25061" hash, and I need to get the author and the committer of this commit.

What is the command to get that?


Just use the following command

git show a2c25061

How to `git pull` while ignoring local changes?

How to unstage large number of files without deleting the content