xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

git merge other feature branch into current feature branch

git merge other feature branch into current feature branch

merge target into current branch


# 1. feat-app-eric (current)
$ git checkout  feat-app-eric
$ git pull

# alias
$ gco  feat-app-eric
$ gp


update


# 2. feat-app-alex (target)
$ git checkout  feat-app-alex
$ git pull

# alias
$ gco  feat-app-alex
$ gp


merge


# 3. feat-app-eric (current)
$ git merge  feat-app-alex
$ git push

# alias
$ git merge feat-app-eric
$ gps



refs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2021-04-27 11:34  xgqfrms  阅读(82)  评论(4编辑  收藏  举报