record git command
来源:互联网 发布:协同过滤推荐算法分类 编辑:程序博客网 时间:2024/06/05 11:42
链接有针对单个文件的回退用法:
http://blog.csdn.net/cankingapp/article/details/18312117
git checkout .
#本地所有修改的。没有的提交的,都返回到原来的状态
git stash
#把所有没有提交的修改暂存到stash里面。可用git stash pop回复。
git reset --hard HASH
#返回到某个节点,不保留修改。
git reset --soft HASH
#返回到某个节点。保留修改
网上很多,不赘述。
eclipse 配git插件是个不错的选择,当然用命令行更快捷。
mark link:
http://www.ibm.com/developerworks/cn/cloud/library/cl-contributecode-openstack/
0 0
- record git command
- To record command of git
- command-record
- git record
- vim command record
- linux sed command record
- mvn command record
- Git Learner Record
- Git Command
- Git Command
- git command
- git command
- Git Command
- git command
- git command
- Git command
- Git command
- git command
- 三种不同类型的ssh隧道
- ActionBar与ViewPager的整合
- 遍历Map的四种方法
- 观察者模式
- 网络协议——IP
- record git command
- Java 写文件:FileOutputStream
- properties加载路径问题
- Android 内存溢出解决方案(OOM) 整理总结
- 第二周 项目2-长方柱类
- 装饰者模式
- 搭建SpringMVC+Hibernate4+Spring3+Ajax+Maven项目(二)
- 简单工厂模式
- error C2027: 使用了未定义类型“T” template < typename T > inline T min(T a, T b)