Skip to content

Instantly share code, notes, and snippets.

@jesalg
Created January 16, 2025 22:09
Show Gist options
  • Save jesalg/3849e40b1b89bd6ba377885fa86822e7 to your computer and use it in GitHub Desktop.
Save jesalg/3849e40b1b89bd6ba377885fa86822e7 to your computer and use it in GitHub Desktop.
List all commits on my current branch
git log main..your-branch --pretty=format:"%h - %s (%an, %ar)" | cat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment