问题 I needed to edit a messy commit commit that only changed a word in a few subsequent rows, keeping some of those changes and removing others. The changes were easy to see in git diff --word-diff , and in that format I could easily edit the hunks to do what I intended to do, but now I have a file like this diff --git a/cldf/forms.csv b/cldf/forms.csv index 46c12a4..0374ece 100644 --- a/cldf/forms.csv +++ b/cldf/forms.csv @@ -1783,8 +1783,8 @@ ID,Lect_ID,Concept_ID,Form_according_to_Source,Form