-
Suggestion
-
Resolution: Duplicate
-
None
Commits listed in the pull request should identify the parent commit, so it's easy to tell how the history graph will be affected.
We try to keep the history as linear as possible by rebasing when reasonable. This is hard to maintain via Stash without knowing the parent commit.
- duplicates
-
BSERV-2874 As a Stash user I want to use a rebase workflow with Stash and for my Pull Requests
- Closed
- is related to
-
BSERV-2874 As a Stash user I want to use a rebase workflow with Stash and for my Pull Requests
- Closed
Form Name |
---|
Sounds good, I've just voted for
STASH-2874.Why do I prefer rebase?
1. I can read the history. This is especially important to our team as we need to cherry pick certain commits back to p4. Without a clean history, it's harder to manage that process.
2. Less merge conflicts. We have 14 devs or so all doing pull requests and it would be best if stash would alert the person who raised the pull request if a rebase fails instead of the person doing the merge (we limit access to the main branch so there are only a few devs that handle the merge)
But to be precise, we merge for longer lived branches and rebase for short ones.. longer lived branches have a lot of overhead if it needs to be rebased often... and plus, the history is relatively clear if a merge happens with two branches. It's the short lived ones that throw off the history a lot.