0
点赞
收藏
分享

微信扫一扫

git 分支新建与合并

林塬 2022-04-02 阅读 97


​如果博客有错误的地方,感谢不吝指出,避免给各位造成损失​

新建分支

合并分支

合并 ​​iss53​​​ 分支到 ​​master​​​ 分支,这和之前你合并 ​​hotfix​​ 分支所做的工作差不多。

切换到 master 分支

$ git checkout master
Switched to branch 'master'

合并 iss53 分支到 当前分支

$ git merge iss53
Merge made by the 'recursive' strategy.
index.html | 1 +
1 file changed, 1 insertion(+)

更多复杂合并 ​参考​: ​​https://git-scm.com/book/zh/v2​​



举报

相关推荐

0 条评论