介绍
git merge hotfix
git rebase hotfix
两者都是将hotfix分支合并到当前分支,只是commit提交日志不同
概述
演示
commit的内容为add file x表示小编增加了一个1.txt
如,add file 1表示增加了一个1.txt
没有合并之前的分支情况
在master分支上执行
git merge hotfix
参考博客
[1]https://www.cnblogs.com/marblemm/p/7161614.html
[2]https://blog.youkuaiyun.com/liuxiaoheng1992/article/details/79108233
[3]https://blog.youkuaiyun.com/Rflyee/article/details/79362381
[4]https://www.tuicool.com/articles/7BfM7f2