View Git commit hashes (git)
git -C "~/my_project" log --pretty=format:'%H' --max-count 5
Displays the latest Git commit hashes from a specific project path, limiting the number of messages to a defined count.
git -C "~/my_project" log --pretty=format:'%H' --max-count 5
Displays the latest Git commit hashes from a specific project path, limiting the number of messages to a defined count.