Suppose two set of changes is made in the project versioned by git. One set is staged and second is not.
I would like to recheck staged changes by running my project at this state (before commit). What is the simple way to put away all unstaged changes and live only staged? So I need unstaged changes disappear from my project, but to be stored somewhere for further work.
This is sounds very much like
git stash uncached
check the options
git stash --keep-index
But if you want to just check the staged changes only you can try
git difftool --cached