I want to go from master and immediately create an empty retrieval request to discuss the implementation details of a particular function.
By selecting my branch and clicking on “Retrieve Request”, Github declares “Do not compare anything” and does not offer the “Create Retrieve Request” button.
Github's own documentation of flow states (double-click the right arrow):
You can open the extraction request at any time during the development process: when you have little code or no code, but want to share some screenshots or general ideas, when you are stuck and need help or advice, or when you are ready for someone consider your work.
But their own documentation of applications for attraction here states:
Retrieval requests can only be opened if there are differences between your branch and the upstream branch.
I would like to use the collaboration capabilities of Github with my team before making changes to the code. As we understand it, Retrieval requests are designed to change code and discuss implementation details (ie, “Solutions”), while Problems are at a higher level, to discuss features / errors (ie, “Problems”) .
Am I misunderstanding these things?
Edit:
Apparently, I can get around the process by changing the branch with an empty commit:
git commit --allow-empty -m "make pull request"
but I'm trying to better understand why my (default) decision to create an empty PR was erroneous and why their documentation seems to be contradictory. Is there a strict policy of "discuss code explicitly in PR" or something similar? That's a moot point?
Refresh
Github released Draft Pull Requests , but (alas) they cannot be created if 2 branches are identical.