有时在开发的feature中,整个分支的功能并没有完成开发完成,但是,有几个修改的基础文件需要合并到develop中,这个时候的操作步骤为:

git checkout develop     //切换到Develop分支

git checkout feature/new1.1 -- usercontroller.php  //将feature/new1.1中的usercontroller.php合并到develop分支中

git commit usercontroller.php -m 'xxx'    //提交文件

相关文章:

  • 2022-02-25
  • 2021-05-31
  • 2022-03-07
  • 2021-05-01
  • 2021-06-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案