You are here

git stash

Upgraded to the latest Git last night. From the responses to the previous blog and #git chatter I knew I had git stash to look forward to.

And this morning it has already come in handy. Last night I started a small refactor of the TrackAdvancer class (it now has a previousTrack method and needs to be renamed) but then went to bed and left Amarok uncompilable in my local copy. So to compile the latest Amarok this morning (the top toolbar has a nifty new SVG background) all I had to do was git stash, git svn rebase and then build. A git stash apply puts the local changes back in and I continued working on it.