Is there an hg equivalent of `git stash save -p` that can split chunks into smaller chunks?

后端 未结 2 2059
情话喂你
情话喂你 2021-01-06 02:26

I want to commit only some of the modifications I made to my files and my preferred way to do this is to shelve/stash away the changes I don\'t want to commit. This allows m

2条回答
  •  无人及你
    2021-01-06 03:25

    I don't know a command to do this, but if you are using tortoiseHg, you can do that by selecting modified sections (checkboxes) in the commit preview area.

    See Mercurial cherry picking changes for commit

提交回复
热议问题