recover all files with git
leon@DGLIRUAN2 /F/linux/android/leon/workspace/AngoWidget (master)
$ git log
commit 2f847e3a858ecb2f843e7820cd8eaedf2ec7102d
Author: leon <llrraa@qq.com>
Date: Mon Jul 14 23:38:58 2014 +0800
alarm working, but every time it sets another timer where it goes into on
receive
commit bc389c0b0a6795995351db5f41efdabbca169028
Author: leon <llrraa@qq.com>
Date: Mon Jul 14 20:42:39 2014 +0800
still not working. try the initial one
commit 35a68f4480347a3cbabb7d2febaabac90a10c275
Author: leon <llrraa@qq.com>
Date: Mon Jul 14 13:54:16 2014 +0800
view is ok now
commit 352a1d2f7a038d83e5e732948e2a10e3d7ce42ee
Author: leon <llrraa@qq.com>
Date: Mon Jul 14 13:25:30 2014 +0800
periodically update not working yet
$ 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的更多相关文章
- How do I commit all deleted files in Git?
Try this: $ git add -u This tells git to automatically stage tracked files -- including deleting the ...
- git报错:Pull is not possible because you have unmerged files解决方法
在git pull的过程中,如果有冲突,那么除了冲突的文件之外,其它的文件都会做为staged区的文件保存起来. 重现: $ git pull A Applications/Commerce/B ...
- git中Untracked files如何清除
$ git status # On branch test # Untracked files: # (use "git add <file>..." to inclu ...
- How To Use Git Source Control with Xcode in iOS 6
This tutorial is by Malek Trabelsi, a passionate iOS developer from Tunisia focused primarily on mob ...
- https://www.atlassian.com/git/tutorials/git-gc
https://www.atlassian.com/git/tutorials/git-gc The git gc command is a repository maintenance comman ...
- git &github 快速入门
本节内容 github介绍 安装 仓库创建& 提交代码 代码回滚 工作区和暂存区 撤销修改 删除操作 远程仓库 分支管理 多人协作 github使用 忽略特殊文件.gitignore 1.gi ...
- Android开发学习之路-Git的极简教程?
Git是一个代码版本管理工具,也就是允许我们的一个项目拥有多个版本,这样我们可以随心所欲的修改我们的代码,如果出现问题,可以回退到某一个提交点.如果你还在用一堆堆注释来更新你的代码,那么可以尝试一下G ...
- Git技巧:右键菜单怎么去除?
如果你是按照http://www.cnblogs.com/dunitian/p/5034624.html 那么你就没有这么多蛋疼的菜单了(反之:vs帮你安装的就蛋疼了) 说下解决方法: 1.Win+R ...
- git did not exit cleanly
exit code 1 1.鼠标右键 -> TortoiseGit -> Settings -> Network 2.SSH client was pointing to C:\Pr ...
随机推荐
- Unity 游戏框架搭建 (二十) 更安全的对象池
上篇文章介绍了,只需通过实现IObjectFactory接口和继承Pool类,就可以很方便地实现一个SimpleObjectPool.SimpleObjectPool可以满足大部分的对象池的需求.而笔 ...
- distcc (dcc_execvp) ERROR: failed to exec XX: Permission denied
首先先确保一下是不是能执行下面语句: # sudo -u nobody XX --version 如果能看见版本信息,则可以不用往下看. 再检查一下distccd.service # sudo cat ...
- Vue Elementui 如何让输入框每次自动聚焦
在项目优化中碰到一个小问题,在每次提示框显示的时候让提示框中的输入框聚焦.如下图.一般情况下提示框是隐藏的.点击了编辑才会弹出. 那么原生属性autofocus 只在模板加载完成时起作用,也就是说只有 ...
- Asp.Net MVC 中的 Cookie(译)
Asp.Net MVC 中的 Cookie(译) Cookie Cookie是请求服务器或访问Web页面时携带的一个小的文本信息. Cookie为Web应用程序中提供了一种存储特定用户信息的方法.Co ...
- c#DES加密解密代码
//加密 public string DesEncrypt(string strText, string strEncrKey) { byte[] byKey=null; byte[ ...
- java并发之同步辅助类(Semphore、CountDownLatch、CyclicBarrier、Phaser)
线程同步辅助类,主要学习两点: 1.上述几种同步辅助类的作用以及常用的方法 2.适用场景,如果有适当的场景可以用到,那无疑是最好的 semaphore(seməˌfôr) 含义 信号量就是可以声明多把 ...
- ECMAScript6词法
ES6简介 ECMAScript 6.0(简称 ES6)是 JavaScript 语言的下一代标准,它于2015 年 6 月正式发布.ECMAScript 和 JavaScript 的关系是,前者是后 ...
- SpringMVC 上传下载 异常处理
SpringMVC 上传下载 异常处理 上一章节对SpringMVC的表单验证进行了详细的介绍,本章节介绍SpringMVC文件的上传和下载(重点),国际化以及异常处理问题.这也是SpringMVC系 ...
- 从.git文件夹探析git实现原理
git是一款分布式代码版本管理工具,通过git能够更加高效地协同编程.了解git的工作原理将有助于我们使用git工具更好地管理项目.通过了解.git文件夹中的文件组成,我们可以从一个角度去窥探git的 ...
- static,final,包,访问修饰符,内部类
static 关键字可以修饰成员变量,被static修饰的成员变量归属于类static关键字可以修饰成员方法:被static修饰的成员方法可以直接使用类名调用,也可以通过对象调用,建议使用类名.非静态 ...