Domanda

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?

È stato utile?

Soluzione

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)"

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top