I'd like to have some modifications that are private to my fork. How do I go about doing this?
There's a question here about pushing a single commit, and the answer is to cherry-pick the commits you want to push from a private branch and put them on the main branch. However, I would like something more along the lines of ignoring a certain commit when pushing.
If those commits are part of commits not yet pushed, you can:
rebase --onto
another branch altogether)So the solution still involves a "private" branch in the process, but more importantly it is about isolating (hence the branch) the part of history which is not made to be published, ending up with a clearer "public" history for you to publish (push).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With