The first thing I need to do is clean up my spike. A quick
rm -rf *
does wonders, except that it deletes some of my real code:cstrom@jaynestown:~/repos/eee-code$ git statusHappily $ cheat git includes a Reverting section. Git checkout does the trick:
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
#
# deleted: README.rdoc
# deleted: features/browse_meals.feature
#
no changes added to commit (use "git add" and/or "git commit -a")
cstrom@jaynestown:~/repos/eee-code$ git checkout .
cstrom@jaynestown:~/repos/eee-code$ git status
# On branch master
nothing to commit (working directory clean)
No comments:
Post a Comment