Skip to content

Instantly share code, notes, and snippets.

@jagomf
Created June 23, 2025 08:40
Show Gist options
  • Save jagomf/2e579bdbbd6c275711e8a6da43cf19cd to your computer and use it in GitHub Desktop.
Save jagomf/2e579bdbbd6c275711e8a6da43cf19cd to your computer and use it in GitHub Desktop.
Stash only one file
git stash push -m optional_stash_title relative/path/to/file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment