Git: Stash specific files
17 January 2023 (Updated 18 January 2023)
Add files to index:
git stash <files>
Push files to the stash:
git stash -- <files>
View your latest stash:
# Show just the file names
git stash show
# Show changes in files
git stash show -p
Tagged:
Git
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment