Sep 4, 2018 · 1 min read
Nice! I wanted to automate adding a single line to commit, kinda like VSCode and other editors do. What internal git command is used when you do a “s” or “e” command? I know I can get a hash for only edits wanted and do a update-index, but it seems too hacky. (oh, your final link gets back to the same article)