git笔记(一)
来源:互联网 发布:设计淘宝网店 编辑:程序博客网 时间:2024/06/02 05:24
恢复到之前版本:
$ git log
$ git log --pretty=oneline983b2d755f681f68f9e900aed33a4d2ce840d20f hjjdf11582c6c28de0c37135df625338a7107e36e63 hjj
$ git checkout 983b2d$ git reset HEAD$ git add .$ git rm --cached .gitignore$ git push -u origin master -f
至此,我们就完成了之前版本提交至gitHub上任务。
阅读全文
0 0
- git笔记(一)
- Git学习笔记(一) 本地Git
- GIT学习笔记(一)
- Git 学习笔记(一)
- git 学习笔记(一)
- Git学习笔记(一)
- Git学习笔记(一)
- Git学习笔记(一)
- Git学习笔记(一)
- 学习git笔记(一)
- git学习笔记(一)
- Git 学习笔记(一)
- Git学习笔记(一)
- Git学习笔记(一)
- Git学习笔记(一)
- git 学习笔记(一)
- git学习笔记(一)
- Git学习笔记(一)
- Socket
- centos 7 + caffe + CPU(only)
- python 入门系列2---python 中的运算符
- django问题详解
- Spring的@Autowired注入规则
- git笔记(一)
- 关于百度的开源Apollo项目
- debian9 安装搜狗拼音输入法
- 对一个deb包的解压、修改、重新打包全过程方法
- IntelliJ IDEA For Mac 快捷键
- [LeetCode]Symmetric Tree
- @GeneratedValue和@SequenceGenerator介绍
- 根据分钟转换为对应的天数小时
- 插入排序