diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-11-19 15:06:27 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-19 15:06:27 -0800 |
commit | 1322024c7b831d85919fd8511e05ca730020e934 (patch) | |
tree | 154e74581f80741e50b31f652d8487242b95f74a /gittutorial-2.html | |
parent | 19a0f4ed47b947ea5b66e7cac85d2277ab5c0505 (diff) | |
download | git-htmldocs-1322024c7b831d85919fd8511e05ca730020e934.tar.gz |
Autogenerated HTML docs for v2.2.0-rc2-23-gca0107
Diffstat (limited to 'gittutorial-2.html')
-rw-r--r-- | gittutorial-2.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gittutorial-2.html b/gittutorial-2.html index 687fcf98f..7e0c8582d 100644 --- a/gittutorial-2.html +++ b/gittutorial-2.html @@ -1100,17 +1100,17 @@ situation:</p></div> <div class="listingblock">
<div class="content">
<pre><code>$ git status
-# On branch master
-# Changes to be committed:
-# (use "git reset HEAD <file>..." to unstage)
-#
-# new file: closing.txt
-#
-# Changes not staged for commit:
-# (use "git add <file>..." to update what will be committed)
-#
-# modified: file.txt
-#</code></pre>
+On branch master
+Changes to be committed:
+ (use "git reset HEAD <file>..." to unstage)
+
+ new file: closing.txt
+
+Changes not staged for commit:
+ (use "git add <file>..." to update what will be committed)
+ (use "git checkout -- <file>..." to discard changes in working directory)
+
+ modified: file.txt</code></pre>
</div></div>
<div class="paragraph"><p>Since the current state of closing.txt is cached in the index file,
it is listed as "Changes to be committed". Since file.txt has
@@ -1169,7 +1169,7 @@ example, creating a new commit.</p></div> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2014-10-16 14:29:57 PDT
+Last updated 2014-11-19 15:05:50 PST
</div>
</div>
</body>
|