In Git, what is the difference between long and short hashes?

前端 未结 4 1004
南旧
南旧 2020-12-09 14:58

Here is the long Git hash:

commit c26cf8af130955c5c67cfea96f9532680b963628

Merge: 8654907 37c2a4f

Author: nicolas

Date: Wed Apr 26 13:28:2

4条回答
  •  时光取名叫无心
    2020-12-09 15:35

    A short hash is just the first 7 characters of your full hash.

    Right below the circled commit in your screenshot, you can see a commit labeled c26cf8a. This should be the commit c26cf8af130955c5c67cfea96f9532680b963628 you were looking for.

提交回复
热议问题