git

Getting Git: Stash Some the Things

Getting Git: Stash Some the Things

I am a consummate git stash addict and use it daily.

I am also decidedly not a git expert by any measure.

Often (too often) I have wondered how I could stash only some of the changes in my working directory. Recently, I actually RTFM and discovered a couple of ways. Woohoo!

  1. git stash --keep-index
  2. git stash --patch

As usual, you are now free to go, dear reader. For a little more discussion, please continue.