I regularly do something like
$ git diff [file] > a1.patch
$ vi a1.patch
[edit out the chunks I want to commit]
$ git apply -R < a1.patch
$ git commit [file]
$ git apply < a1.patch
Seems a little bit convoluted, but works...
Hth,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html