Skip to content

Instantly share code, notes, and snippets.

@Jeetah
Created September 12, 2023 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jeetah/9e6fc069799345e67ef66b15734b0c50 to your computer and use it in GitHub Desktop.
Save Jeetah/9e6fc069799345e67ef66b15734b0c50 to your computer and use it in GitHub Desktop.
Git: What happened since last PROD deployment?
git log --oneline --pretty=format:"%s (%cn - %ci)" $(git describe --tags --abbrev=0 --match "prod/*" $(git rev-list --tags="prod/*" --max-count=1 --skip=1))..$(git describe --tags --abbrev=0 --match "prod/*")
git log --oneline $(git describe --tags --abbrev=0 --match "prod/*")..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment