Skip to content

Instantly share code, notes, and snippets.

@dfarrell-bloom
Created May 14, 2014 19:25
Show Gist options
  • Save dfarrell-bloom/1996fa74cbd6d7eee1eb to your computer and use it in GitHub Desktop.
Save dfarrell-bloom/1996fa74cbd6d7eee1eb to your computer and use it in GitHub Desktop.
cd static-sites
git checkout -b tmp
git branch -D master
git checkout master
git branch -D tmp
@dfarrell-bloom
Copy link
Author

run this in a terminal:

ssh demosites@bloomdemo.com ". fix-revert.sh"

you'll see:

Deleted branch master (was 8e9f444).
Switched to a new branch 'tmp'
Branch master set up to track remote branch master from origin.
Deleted branch tmp (was 8e9f444).
Switched to a new branch 'master'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment