get rid of stashed changes in fild java code example Example 1: git stas hauntracked files git stash --include-untracked Example 2: git stash clean command git stash clear