I would like to create a light fork of an opensource project. The fork would basically consist of very few small patches on top of it. But I'm not sure how to technically do this. Currently, I just have the patches as few commits on a branch and periodically rebase on the upstream branch as they release new version. However, I'm not sure if that is optimal since it requires push --force
after each such rebase. So I'm curious how this should be correctly handled in theory.
Should I just have my own tree and just merge the changes instead of a rebase? Is there a recommended strategy to do this?
Both strategies (merging or rebasing) are fine and will produce the same result.
You might be interested in Patch Management tools such as:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.