I've run:
git add -p
and I then want to split my hunk by typing s
:
import org.hamcrest.CoreMatchers;
-import org.junit.Ignore;
+import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]? s
Sorry, cannot split this hunk
I would like to only add import org.junit.Before;
to my commit and not to remove import org.junit.Ignore;
. How can I do it?