Replies: 6 comments 8 replies
-
Hi Ivan, I didn't understand the what you meant by "would the team get through". Can you explain more about what you would like to know? |
Beta Was this translation helpful? Give feedback.
-
It's not clear how the branchless workflow is integrating with process of PR creation. |
Beta Was this translation helpful? Give feedback.
-
Some notes about what I've been doing so far. There may be other approaches. Also note, I'm pushing the branches and PRs directly to the main repo, not a fork. I'm using Github in the context of my company and we don't fork our repos for development purposes. As far as I can tell, Github pull requests require branches, so I start by making branches and pushing them:
Then make a PR for it:
It gets a little trickier if you want to stack PRs:
Then open a new PR. Notice that the base branch of the new PR is the head branch of the previous PR:
Current problems I'm encountering:
|
Beta Was this translation helpful? Give feedback.
-
Thanks, great answers! I think it merits a place in the readme. |
Beta Was this translation helpful? Give feedback.
-
@jacobsimpson-addepar thanks for detailing your workflow. I'll need to synthesize a "blessed" Github workflow into a` guide in the wiki at some point. Have you tried either of https://github.com/ezyang/ghstack or https://github.com/timothyandrew/gh-stack to help with your workflow? I'm curious to know if they help, or if they still have shortcomings.
I've added this as one of the work items in #34, as we should be able to detect duplicated commits. The implementation is a bit tricky to integrate with It should also be possible to delete branches which have been merged upstream in the same way.
Hopefully we can simplify this into a single |
Beta Was this translation helpful? Give feedback.
-
I've been using Stacked Git for several years now in a branch-less workflow, primarily one commit per review. To manage pull requests in our internal (non-GitHub) review tool has been to shuffle the stack around until only the commit I want is on the stack, then push to a remote branch named after the patch name.
I'm unsure what I should do with |
Beta Was this translation helpful? Give feedback.
-
I don't think it's clear would the team get through the PRs process using the branchless workflow.
Beta Was this translation helpful? Give feedback.
All reactions