Possible Duplicate:
Splitting a hunk with magit

When you review your changes sections you get the chunks as you would when you do for example "git add -p" by default, but I can't find an option to split chunks into smaller chunks as you would by choosing the "s" option when issuing commands with -p, so is it possible?

有帮助吗?

解决方案

As noted by phils above this is a duplicate of Splitting a hunk with magit.

His solution over there worked great for me:

"You can also use - and + to decrease or increase the extent of the hunks in the diff (and 0 resets)"

其他提示

You can split it manually with "e". It will open your standard editor with the instructions.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top