码迷,mamicode.com
首页 > 其他好文 > 详细

合并本地多次commit为一个commit

时间:2020-07-03 21:17:44      阅读:46      评论:0      收藏:0      [点我收藏+]

标签:方法   inf   eset   loading   highlight   set   nbsp   image   信息   

git log 查看commit信息

  技术图片

 

 

git reset 7e6b6ef13bd3c9cb6369f4ff9ecb6b88b659aa9e
git status

  

 技术图片

 

 

再git commit -m 一次 ,但是这种方法有的还需要自己微调一下,其实感觉 不是很好

  

合并本地多次commit为一个commit

标签:方法   inf   eset   loading   highlight   set   nbsp   image   信息   

原文地址:https://www.cnblogs.com/fply/p/13232431.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!