赞
踩
企业开发中,经常会单独拉分支去做自己的需求开发,但是某些时候一些公共的配置我们需要从主线
pull
,这时候整个分支merge
显然不合适
git checkout <branch>
git checkout <目标分支> -- <文件路径>
git add <文件路径>
git commit -m "合并单个文件到目标分支的描述"
git branch
git stash
git stash pop
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。