From 1b504ac584ebfb15026f260b47e79451c2f65985 Mon Sep 17 00:00:00 2001
From: Gergely Polonkai
If you have untracked files, git stash
doesn't save it. You
- can either add stage those files with git add
(you don't have
- to commit) before stashing, or, if you have a recent Git version (1.7.7 or
- above), you can use git stash -u
to stash also unversioned
- files.
If you have untracked files, git stash
will not include
+ them. You can either stage those files with git add
(you don't
+ have to commit) before stashing, or, if you have a recent Git version
+ (1.7.7 or above), you can use git stash -u
to also stash also
+ unversioned files.
$ git status -s