git shortcuts
Save the last commit hash to the variable
last=$(git log --oneline | head -n 1 | cut -d " " -f1)Save the last 10 commit hashes to an array
last10=($(git log --oneline | head -n 10 | cut -d " " -f1))Show the dates of commits
git show -s --format=%ci <commit-hash>git show -s --format=%ci ${last10[@]}Last updated