Git command to save a stash without modifying working tree?
git stash store “$(git stash create)” Will create stash entry similar to what you would get with git stash without actually touching and clearing your working directory and index. If you check stash list or look at all commit graph (including stash) you’ll see that it’s similar result to what you would get with normal … Read more