3 ms·
It's also useful that PRs come from branches where each of the commits builds. And, these days, to be able to certify that, you need to push each commit one by
by knocte 4y ago
It's also useful that PRs come from branches where each of the commits builds. And, these days, to be able to certify that, you need to push each commit one by one (otherwise GitHubCI and GitLabCI at least, will only run a CI job for the single push even if the push included many commits).
To prevent this problem, I wrote this push script: https://github.com/nblockchain/fsx/blob/master/Tools/gitPush1by1.fsx https://github.com/nblockchain/fsx/blob/master/Tools/gitPush...
- tcoff91 4y agoIf not every commit builds, you can use —-first-parent with bisect and bisect PR by PR instead of bisecting all commits.
- wildmanx 4y agoGP may have meant that this is useful outside of bisecting something in the main branch. For example, you may want to get your tree in one of the intermittent states and play around with it. Run some tests, try how some object behaves, to better understand the different commits comprising the PR. I do this quite a lot.