This is useful if you’re just interested in know the last commit without scrolling the full log (git log).
git log --oneline -1
7d6ecc8 (HEAD -> main) Fix journal This is useful if you’re just interested in know the last commit without scrolling the full log (git log).
git log --oneline -1
7d6ecc8 (HEAD -> main) Fix journal