git stash for single file code example Example: stash a single file git stash push -m "describe changes to filename.ext" filename.ext