title: How to stage only single line of changes in Git CLI?
body: <p>I added three lines of code in a row:</p>
  <pre class="lang-lua prettyprint-override"><code>local function delete()
      return nil -- TODO: Stub
  end
  </code></pre>
  <p>And I want to stage and commit only the first and the last ones. Adding it with <code>-p</code> or <code>-i</code> option does not help - the whole hunk will be added. I know that I can do this with GUIs like Git Extensions. But is it possible to stage single lines instead of hunks using command line?</p>