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 ...
随机推荐
- 机器翻译评测——BLEU改进后的NIST算法
◆版权声明:本文出自胖喵~的博客,转载必须注明出处. 转载请注明出处:http://www.cnblogs.com/by-dream/p/7765345.html 上一节介绍了BLEU算的缺陷.NIS ...
- Redis的使用初探
Redis Redis将其数据库完全保存在内存中,仅使用磁盘进行持久化. 与其它键值数据存储相比,Redis有一组相对丰富的数据类型. Redis可以将数据复制到任意数量的从机中 Redis的安装 官 ...
- jquery的img的动态title换行
因业务需要,需要在图片悬浮的时候显示动态加载的title,如果图片的title为固定的可以使用以下方式换行: <img src="1.jpg" title="第一行 ...
- 服务器 : Apache Tomcat - 理解架构层次
文章概览 相信很多接触java的人都对Tom猫有着多少的熟悉,就个人而言,本来只知道Tom简单的操作与配置,就像裹上一层纱,迷迷糊糊的. Tomcat的书籍本来就不多,高分的还是很久之前的版本,直到最 ...
- PHP基础入门(三)【PHP中的数组】
PHP数组的分类 按照下标的不同,PHP数组分为关联数组与索引数组: 索引数组:下标从0开始,依次增长: 关联数组: 下标为字符串格式,每个下标字符串与数组的值一一关联对应.(有点像对象的键值对) 关 ...
- java获取当前上一周、上一月、上一年的时间
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar c = Calend ...
- docker下编译mangoszero WOW60级服务端(二)
开始搭建基于docker的mangoszero WOW服务端,我自己的操作系统是mac os,其他平台操作可以等价替换 1.准备工作 (1) 安装docker,参考docker官方文档,https:/ ...
- 一:配置使用阿里云Maven库
鉴于国内的网络环境,从默认 Maven 库下载 jar 包是非常的痛苦. 速度慢就不说了,还经常是下不下来,然后一运行就是各种 ClassNotFoundException,然后你得找到残留文件删掉重 ...
- java面向对象的构造函数
当使用new来创建一个对象的时候,其实是调用了一个函数,这个函数的名称叫做构造函数 构造函数的特点: 1.构造函数的名称必须和类名完全一致,包括大小写. 2.构造函数不写返回值,不写返回值意味着连vo ...
- 【python】python的正则表达式 re
ps:本文摘自互联网,觉得结构很好,讲的也很清晰.记下,备查. 延伸阅读:python的 内建函数 和 subprocess .此文是本系列的第三篇文章了,和之前一样,内容出自官方文档,但是会有自己的 ...