Git commit and push branch but don't pull request

I am working on a slide show function for an application, and I am creating a master branch called slideshow . I know that I have to send a pull request to master , directing it to get it out of the slideshow . In a stretch request, talking about some aspects of the slideshow delays stretching in master , but I still have to work with other aspects of the slideshow , which will eventually have a separate stretch request. So:

  • I want to be able to make and click on a slideshow without entering the transfer request that I sent
  • But I also want to be able to come back and improve the pull request for the slideshow if the code developers need an improvement.

Is there a way to click on the branch that is in the pull request without clicking on this pull request? Or is it the answer to this scenario, just to create another slideshow branch?

+4
source share
1 answer

Pull requests always contain all the commits from the branch to merge, so no, there is no way to push the branch with the pull request without clicking on the pull request. The best solution is probably to create a new slideshow branch. I would suggest creating a branch specifically for pull requests, for example. slideshow-pr1 (future interim breakaway requests may use the branches slideshow-pr2 & c., until the final merge slideshow ); continue working on the slideshow in the slideshow , and either the cherry picker takes over from the original function branch, or passes directly to the traction request branch to improve the retrieval request by combining it back into the function branch after the load request has been merged in master .

+3
source

All Articles