Skip to content

Instantly share code, notes, and snippets.

@philips
Created February 29, 2012 16:33
Show Gist options
  • Save philips/1942284 to your computer and use it in GitHub Desktop.
Save philips/1942284 to your computer and use it in GitHub Desktop.
Do you want to confirm the commits you are about to push to origin? Use
this command to get a list of commits:
git fetch --all
# Drop the -p if you don't want diffs
git log -p origin/master..
# Good to push?
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment