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 ...
随机推荐
- 团队工作准则&贡献分配规则
团队工作准则&贡献分配规则 NewTeam 2017/10/24 v1.0 工作准则及内容 全体成员 所有成员在接受任务时应结合自身情况考虑,如果认为任务内容或时间有不合理之处应当立即提出修改 ...
- [转载] Java线程池框架源码分析
转载自http://www.linuxidc.com/Linux/2014-11/108791.htm 相关类Executor,Executors,AbstractExecutorService,Ex ...
- Git命令补全配置
Git命令补全功能 1.下载下面的文件 https://github.com/sguo421/code/blob/master/git-completion.bash 2.放倒HOME目录下,设置为隐 ...
- array_unique和array_flip 实现去重间的区别
array_unique和array_flip 实现去重间的区别 php有内置函数array_unique可以用来删除数组中的重复值, phperz~com (PHP 4 >= 4.0.1, ...
- Python 日志处理(三) 日志状态码分析、浏览器分析
在企业中,从日志中提取数据进行分析,可以帮助企业更加了解用户行为,用户最感兴趣的产品或者内容,分析得到数据后,可以决定企业在今后的走向. 从这些日志数据中,比较重要的有: 1. 用户访问最多的url, ...
- 为什么我的子线程更新了 UI 没报错?借此,纠正一些Android 程序员的一个知识误区
开门见山: 这个误区是:子线程不能更新 UI ,其应该分类讨论,而不是绝对的. 半小时前,我的 XRecyclerView 群里面,一位群友私聊我,问题是: 为什么我的子线程更新了 UI 没报错? 我 ...
- laravel 表单验证 Exists 规则的基本使用方法
public function rules(){ return [ 'm_pushing_frequency_level_id' => 'integer|required|exists:m_pu ...
- SpringQuartz 实现定时任务调度
最近公司新项目需要用到定时器,于是研究了一下发现: Spring中使用Quartz有两种方式实现: 第一种是任务类继承QuartzJobBean 第二种则是在配置文件里定义任务类和要执行的方法,类和方 ...
- C语言之浮点数
#include<stdio.h> int main(){printf("请分别输入身高的英尺和英寸," "如输入\"5 7\"表示5英尺 ...
- EntityFramework For Mysql 动态切换数据源
1.简介 在工作中遇到一个问题.项目有三个数据库(三个数据库表结构一样),用户可以选择使用哪个数据库.其实就是动态切换数据库连接. 2.EntityFramework For Mysql 先来简单的介 ...