search

Home  >  Q&A  >  body text

git - New branch pull request problem

My main branch is called wholesale/master
I created a new branch btn yesterday. The changed code is in file a and submitted. There is no merge
If I want to change a today file, then should I submit on the basis of the btn branch or the wholesale/master branch? So who should we compare with when making a pull request?

PHPzPHPz2850 days ago617

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-02 09:36:22

    Just continue branching in btn分支上工作,等感到工作告一个段落之后,合并到主干就行。
    如果是自己的库的话,直接mergepush就可以。如果是别人的库,选择compare across forks,比较别人的主干和自己的btn.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-02 09:36:22

    Local btn分支上工作,修改完毕之后push到远程的btn分支上。
    merge remains the same.

    reply
    0
  • Cancelreply