$ git checkout 352a1
D .classpath
M .project
D AndroidManifest.xml
D ic_launcher-web.png
D libs/android-support-v4.jar
D proguard-project.txt
D project.properties
D res/drawable-hdpi/ic_launcher.png
D res/drawable-mdpi/ic_launcher.png
D res/drawable-xhdpi/ic_launcher.png
D res/drawable-xxhdpi/ic_launcher.png
D res/layout/activity_main.xml
D res/layout/fragment_main.xml
D res/menu/main.xml
D res/values-v11/styles.xml
D res/values-v14/styles.xml
D res/values-w820dp/dimens.xml
D res/values/dimens.xml
D res/values/strings.xml
D res/values/styles.xml
D res/xml/appwidget_info.xml
D src/com/ango/angowidget/MainActivity.java
Note: checking out ‘352a1‘.
You are in ‘detached HEAD‘ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 352a1d2... periodically update not working yet
git checkout -- AndroidManifest.xml
git checkout -- ic_launcher-web.png
git checkout -- libs/android-support-v4.jar
git checkout -- proguard-project.txt
git checkout -- project.properties
git checkout -- res/drawable-hdpi/ic_launcher.png
git checkout -- res/drawable-mdpi/ic_launcher.png
git checkout -- res/drawable-xhdpi/ic_launcher.png
git checkout -- res/drawable-xxhdpi/ic_launcher.png
git checkout -- res/layout/activity_main.xml
git checkout -- res/layout/fragment_main.xml
git checkout -- res/menu/main.xml
git checkout -- res/values-v11/styles.xml
git checkout -- res/values-v14/styles.xml
git checkout -- res/values-w820dp/dimens.xml
git checkout -- res/values/dimens.xml
git checkout -- res/values/strings.xml
git checkout -- res/values/styles.xml
git checkout -- res/xml/appwidget_info.xml
git checkout -- src/com/ango/angowidget/MainActivity.java
recover all files with git,布布扣,bubuko.com
原文:http://blog.csdn.net/llrraa2010/article/details/37805361