This is more of a git question, but since I found many possible solutions online I am wondering if there is a preferred way to do this in the Julia package ecosystem.
Consider a git repo for a package, for which I want to submit multiple PRs (bug fixes, new features, etc) simultaneously (in practice, simultaneity happens because merging PRs takes time).
So I create a new branch from
pr1, write the code, and submit a pull request. Now for the second PR
pr2, should I branch from
pr1, as in
master -> pr1 -> pr2
? Or branch parallel, eg
master --+--> pr1 | +--> pr2
If I branch from
master, but merging takes time and I want to use the fixes myself locally in the meantime, what’s the best way to do it? Should I create a third local branch, and merge
pr2 into it?