diff --git a/basic/index.html b/basic/index.html index 66eae29..8f64fa5 100644 --- a/basic/index.html +++ b/basic/index.html @@ -849,6 +849,12 @@ nothing to commit (working directory clean) It will then leave you at the state of the last commit.
+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.
$ git status -s
M hello.rb