Git: Commit ID

By Xah Lee. Date: .

One important concept is Commit ID. Every commit has a ID. The commit id is a 40 digits hexadecimal, for example: 3b6ea398cc2d69212b04c29f06b8d15c0af34e34.

List Commit ID

git log -3
show the last 3 commit's commit id.

git

git FAQ