Meinersbur wrote:

> In general, I feel that it's easier to handle stacked PRs if they get rebased 
> onto main (rather than merging back changes into all participating branches). 
> It would even suffice to have only one local branch for this, as long as one 
> uses explicit hashes to push. E.g., based on the hashes in my branch, an 
> update to all 4 PRs here would look as follows:
> 
> ```
> git push -f origin 
> eff95173a62dd78619ffe4d37fdcc4528df41245:users/meinersbur/flang_runtime_split-headers
> git push -f origin 
> 022ab326c9366a953913f7db17efe6aa8e107708:users/meinersbur/flang_runtime_split-headers2
> git push -f origin 
> 904d5ae0b2fb13c09ff1537db06c24d50ee26f5f:users/meinersbur/flang_runtime_move-files
> git push -f origin 
> b5f37dbee9fe55f8afd13efc67eb5383f560584a:users/meinersbur/flang_runtime
> ```

One problem with force-push is that GitHub loses track of review comments added 
to particular lines.

https://github.com/llvm/llvm-project/pull/110217
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to