Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TIL: Get the Latest Git Commit SHA-1

Shell Version Control #Git #CLI #SHA-1

This command retrieves the SHA-1 hash of the latest commit:

git rev-parse HEAD