Stash specific files Stash specific files in Git with the git stash push command: git stash push -- this-file path/to/that-file This is great for moving some files out of the way while keeping others in place. See https://git-scm.com/docs/git-stash#Documentation/git-stash.txt-push-p--patch-k--no-keep-index-u--include-untracked-a--all-q--quiet-m--messageltmessagegt--ltpathspecgt82308203