Let's split our changes into separate commits. We'll be able to check over our changes before staging them all from the terminal. Then, we'll see the positive effect it has on our commit history.

git add --patch

1. Then in the cmd, we can type 's' stands for splite the changes into chunks.

2. Then type 'q' stands for quite.

3. Add commit message for that part of changes

4. Then run git add --patch

5. Repeact 1-4 until all changes are included

最新文章

  1. 关于配置Spring框架的多个propertyConfigurer的问题
  2. realestate.cei.gov.cn
  3. 如何在安装32位Oracle客户端组件的情况下以64位模式运行
  4. OpenCV3编程入门笔记(1)图像载入、显示、保存、变换灰度图
  5. **php队列的实现思路和详细过程
  6. java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.String
  7. Discuz!提取文章标签
  8. css中em与px
  9. ThinkPHP的连贯操作方法中field方法
  10. Bootstrap-table使用记录(转)
  11. http-cookie、session、Token
  12. Adding a struct into an array(stackoverflow)
  13. python------模块定义、导入、优化 ------->os模块
  14. JavaScript学习总结(二、隐式类型转换、eval())
  15. 一篇对OAuth2.0开发实例的介绍
  16. tomcat的简单配置与适用默认的web应用
  17. 用word2016 写CSDN 博客
  18. 3D打印
  19. 编写的windows程序,崩溃时产生crash dump文件的办法
  20. mysql 下字符集知识汇总

热门文章

  1. 使用IPV6
  2. mmx-编译脚本
  3. 13.Zookeeper的java客户端API使用方法
  4. 3.十分钟读懂——App开发规范的业务流程
  5. CView::OnPreparePrinting
  6. [React & Debug] Quick way to debug Stateless component
  7. Android RGB颜色对比表
  8. input选中 和 select点击下拉选择获取选中选项的值
  9. CentOS 6 通过DVD快速建立本地YUM源
  10. 零基础学python-2.3 凝视