Linked Questions
10 questions linked to/from Stash changes to specific files
23 votes
1 answer
31k views
Stash only some of the currently modified files [duplicate]
I have many changed files and would like to stash only some of the modified files. As an example, my repository looks something like: Changes not staged for commit: (use "git add <file>..." ...
1 vote
1 answer
2k views
Stash multiple files [duplicate]
I have total 30 files and I have made changes in 15 files. Out of those files I have to make 2 stash. The first stash will have some files and in another stash, I need the other files. Also, there ...
3870 votes
33 answers
1.4m views
How do I stash only one file out of multiple files that have changed?
How do I stash only one of the multiple changed files on my branch?
2588 votes
14 answers
1.5m views
How can I git stash a specific file?
How can I stash a specific file leaving the others currently modified out of the stash I am about to save? For example, if git status gives me this: younker % git status # On branch master # ...
537 votes
7 answers
266k views
Git Stash vs Shelve in IntelliJ IDEA
I am very unfamiliar with the shelve aspect of Git (EDIT: not an aspect of Git, but rather IntelliJ IDEA feature of shelve). If stash is used to put aside unfinished work what is shelve then? What ...
164 votes
6 answers
61k views
Is git stash branch-specific or for the whole repository?
I was surprised that git unstashed the stash from <otherbranch> (latest stashed) because I thought stashes were branch-specific. Is git stash branch-specific or for the whole repository? If it ...
38 votes
11 answers
43k views
Git rm several files?
How do I easily remove several files without manually typing the full paths of all of them to git rm? I have plenty of modified files I'd like to keep so removing all modified is not possible either. ...
1 vote
3 answers
2k views
how to temporarily store and restore selected files using TortoiseGit
I want to store some files with modifications temporarily and later restore the changes using TortoiseGit. Some thing like the git stash. But I dont see any option to select the files to be stored. ...
4 votes
2 answers
4k views
Git PathSpec Issue on Git Stash
When I run the new version 2.13.0.windows.1 of its new command stash -p -- {pathspec} as git stash -p -- AB.Dir1/Dir2/DestinationHierarchyCreator.cs it reports the error error: pathspec 'AB.Dir1/...
4 votes
4 answers
2k views
RSS feed for updates to Git
Is there an RSS/Atom feed or a mailing list for updates to Git that I can subscribe to? I find it hard to keep up-to-date with the latest version, as I have no way on knowing when a new version is ...