Reputation: 10677
It is said in IDEA documentation
Select this check box to have IntelliJ IDEA bring the changes staged in the index to your working tree for examination and testing.
Can somebody please explain what does this mean?
Upvotes: 46
Views: 23828
Reputation: 2008
This determines if the stash is created with the git --keep-index
flag.
From GIT docs:
If the
--keep-index
option is used, all changes already added to the index are left intact.
So in other words, any files you've added to git will also remain outside of the stash when you create it. Whereas normally newly added files would be removed after stashing. (See this question for a more indepth description of where the index is.)
Upvotes: 52