Skip to content

Instantly share code, notes, and snippets.

@trevor-atlas
Created November 25, 2014 20:38
Show Gist options
  • Select an option

  • Save trevor-atlas/8409a35f590099c2c3f1 to your computer and use it in GitHub Desktop.

Select an option

Save trevor-atlas/8409a35f590099c2c3f1 to your computer and use it in GitHub Desktop.
pull in changes and reset to master
# This should only be run on your production environment to pull in commited changes.
# DO NOT USE THIS ON YOUR DEVELOPMENT BUILD OR YOU WILL LOSE ANY CHANGES SINCE YOUR LAST PUSHED COMMIT!
git fetch --all && git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment