Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-reference.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew McCullough <matthew@github.com>2013-09-26 01:54:15 +0400
committerMatthew McCullough <matthew@github.com>2013-09-26 01:54:15 +0400
commit9cdec2fac586f2b64c0163364246f410c51e94af (patch)
treeb938a62eea214aee5ab0bac33f438f9ec0d01610
parent0b2c4af8e12874412c4a0be34709a14fbb8702dd (diff)
parent1b504ac584ebfb15026f260b47e79451c2f65985 (diff)
Merge pull request #69 from gergelypolonkai/gh-pages
Added remark about stashing untracked files
-rw-r--r--basic/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/basic/index.html b/basic/index.html
index 66eae29..0904da9 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.
</p>
+ <p>If you have untracked files, <code>git stash</code> will not include
+ them. You can either stage those files with <code>git add</code> (you don't
+ have to commit) before stashing, or, if you have a recent Git version
+ (1.7.7 or above), you can use <code>git stash -u</code> to also stash also
+ unversioned files.</p>
+
<pre>
<b>$ git status -s</b>
<span class="red">M</span> hello.rb