Stashing individual files
- From
Chris Leong <walkraft@gmail.com>
- Date
- Jan 2, 2012, 23:32 UTC
- Message-ID
- <CAJ6vYjduoBNrRcvcvQbX_yY-3-Qm5ZbXOM0WQpWRwC1H1OCqaA@mail.gmail.com>
Hi all,
Thanks for making such a wonderful product. I find the stash command really useful, but it doesn't work very well when I just need to temporarily revert one or two files. I know that there is the interactive command, but if you have modified a large number of files, then it takes quite a bit of effort. Is there any way I can define an alias, stashfiles, so that I can just type git stashfiles file1 file2? Also, please consider adding such a feature into a future version.
Thanks,
Chris