reset stash code example Example 1: stash clear list git stash clear // to clear the whole list Example 2: How to discard files from stash in git git stash apply