git reset 复位
来源:互联网 发布:长沙黑马程序员 编辑:程序博客网 时间:2024/06/04 08:17
复位
版本会退到工作区
git reset [--mixed] SHA1 默认 --mixed
软复位
回退版本到暂存区
git reset --soft SHA1
硬复位
会从版本库 跟 工作目录中同时删除提交
git reset --hard SHA1
---------------------------------------------------------------------------------------------------------
阅读全文
0 0
- git reset 复位
- CSS Reset(CSS复位)
- Css Reset(复位)整理
- git reset
- git reset
- git reset
- git reset
- git reset
- git reset
- git reset
- git reset
- git reset
- git reset
- git reset
- git# reset
- git reset
- git reset
- git reset
- secureCRT远程登录虚拟机Linux
- Lifecycles源码解读
- Netstat命令详解(windows下)
- elasticsearch win7集群配置python测试
- Django实现数据上传到数据库操作
- git reset 复位
- 每天一道算法题--单链表的相关操作
- 类的默认成员函数
- lintcode 22.平面列表
- FileZilla远端登录虚拟机Linux
- FastJSON将String转为Bean文件(可用于Activity间的Bean文件传递)
- 关于用MyEclipse6.6,jdk1.8,class不编译的问题
- kotlin 中的枚举类和 “when”
- 宽度固定高度按原图比例适应的ImageView