git stash and edited hunks
问题 I totally love git add -p and git stash but I occasionally have the following problem, which is reproduced by the following sequence of commands: git add -p my_file : then I edit a hunk manually (using e ) because the splitting that git suggests does not suit me git stash --keep-index : then I do some testing, and if the tests pass I do not commit git stash pop : now the problem occurs: the file my_file is now considered as conflicted , and git has completely messed with my edited hunk, so I