Skip to content

Instantly share code, notes, and snippets.

@willkg
Created February 27, 2013 22:23
Show Gist options
  • Save willkg/5052392 to your computer and use it in GitHub Desktop.
Save willkg/5052392 to your computer and use it in GitHub Desktop.
shows a log --oneline of the sha in production and head
#!/bin/bash
set -o errexit
USAGE=""
. git-sh-setup
INPROD=`curl -s "https://support.mozilla.org/media/revision.txt"`
echo "You are about to push:"
git log --oneline ${INPROD}..HEAD
echo "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment