A

Admin • 828.03K Points
Coach

Q. Which command shows only commit hashes?

  • (A) git log --oneline
  • (B) git log --pretty=oneline
  • (C) git log --pretty=format:%H
  • (D) git show --hash
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category Git
  • Hashtags:

Explanation by: Admin
This format option prints only commit hashes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.