git 常用命令
来源:互联网 发布:Mac笔记本可以连接Pc吗 编辑:程序博客网 时间:2024/06/06 11:48
git commit -a -m "Add first draft of some feature"
git diff 查看当前没有add 的内容修改
git diff --cached查看已经add 没有commit 的改动 使用
git diff HEAD 是上面两条的合并
git log -p filename 查看具体文件的修改历史
git status 查看当前的git 仓库的状态
git reset --soft 回退到git add 之前(修改还在,缓冲不在)
git reset --hard 回退到某个版本包括缓冲区
0 0
- git 常用命令
- Git常用命令
- git 常用命令
- git 常用命令
- git 常用命令
- git 常用命令
- GIT常用命令
- git 常用命令
- git 常用命令
- Git 常用命令
- git 常用命令
- Git常用命令
- Git常用命令
- git 常用命令
- Git 常用命令
- git常用命令
- git 常用命令
- Git 常用命令
- 12 个 CSS 高级技巧汇总
- MySQL查看SQL语句执行效率
- Spring Cloud构建微服务架构(七)消息总线
- 使用Composer安装Laravel报错问题
- 【bzoj2734】[HNOI2012]集合选数
- git 常用命令
- SpringMVC基于注解的controller
- C#中ArrayList集合
- CXF添加拦截器
- 警告: Category is implementing a method which will also be implemented by its primary class
- 通过增加form,并控制form的关闭,来达到窗口的信息内容切换目的
- 剑指offer26:复杂链表复制
- Spring Cloud构建微服务架构(七)消息总线(续:Kafka)
- Problem A: STL—水果店(map见解及实例应用)