Skip to content

Instantly share code, notes, and snippets.

@micmath
Created July 27, 2009 13:44
Show Gist options
  • Save micmath/156312 to your computer and use it in GitHub Desktop.
Save micmath/156312 to your computer and use it in GitHub Desktop.
# you made changes in the css_select folder on the master branch
# but now you want to move that work into a working branch
# and restore the master to what is in the remote repository
$ git branch
* master
$ git branch fix_css_selectors
* master
fix_css_selectors
$ cd ..
$ rm -r css_select
$ git checkout -- css_select
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment