10
Mar

Find which commit is currently checked out in Git

$ git log -1

There are several other ways. The “git log” alone will give you a long history output and git log -1 just shortens that down to your current commit.

About Joel Milne
Lead developer at GoldHat Group.
No Comments

Leave a Comment

Your email address will not be published. Required fields are marked *