git stashes change indices code example
Example 1: git remove first stash
git stash drop 0
Example 2: git stash
//to restrict file to add for commit
git stash pathOfFile
git stash drop 0
//to restrict file to add for commit
git stash pathOfFile