What's the Git approach to publish a patch queue?

后端 未结 4 511
无人及你
无人及你 2020-12-30 00:56

I am used to Mercurial mq extension to maintain a set of custom patches over the upstream. They can be published as a separate repository aside from the upstream. Now in git

4条回答
  •  情深已故
    2020-12-30 01:47

    To summarize the answers and comments. With git there are two approaches to publish small custom modifications over the remote upstream:

    • forget rebase, publish a branch and new merges as necessary
    • declare that a branch is rebasing, just rebase and publish (pro: clean history, contra: can be a pain to be used continuously by someone else, example: linux-next)

    So far the pure patch queue workflow doesn't seem to be doable with git, but guilt seems to be be very close to mq, even names of the commands. It doesn't allow for a version-controlled (and publishable) patch queue.

提交回复
热议问题