2012-07-17 To commit changes in unit of line git To commit changes in unit of line $ git add -p file_name How can I commit only part of a file in git - StackOverflow.com I have heard that we can it with Emacs. But I don't know details.