Skip to content

Instantly share code, notes, and snippets.

# Useful Git Commands
✅ View commit messages pushed to remote repo
git log --pretty=format:"%s"
------------------------------------------------------------------------------------------------------------------------
✅ View the last commit on the current branch (including local commits)
git log -1
------------------------------------------------------------------------------------------------------------------------