Using Git i understand that it is possible to commit only part (a hunk) of the changes made to a file. Is this possible using only PhpStorm, or do i need to use an external tool if i want to submit the changes i made to a file in several commits?
Line1 added <- commit 1
Line2 original file
Line3 added <- commit 2
The only way i could find was reverting the changes to the last line, commit(1), undo the revert , commit(2). This is quite cumbersome and i was wondering if there is a better way?