Skip to content

Instantly share code, notes, and snippets.

@Lewuathe
Created December 21, 2012 14:27
Show Gist options
  • Save Lewuathe/4353143 to your computer and use it in GitHub Desktop.
Save Lewuathe/4353143 to your computer and use it in GitHub Desktop.
git rmを取り戻す ref: http://qiita.com/items/2c624c5ceee695b650c8
$ git rm necessary_file.txt
Oops!!
$ git reset HEAD necessary_file.txt
$ git checkout necessary_file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment