Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Autogenerated HTML docs for v1.7.6-404-g5d2fc

  • Loading branch information...
commit 16ebcd0bda2d592eefc14d4450d21986d961b181 1 parent 86d8436
Junio C Hamano authored
View
18 git-archive.html
@@ -652,7 +652,7 @@ <h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ &amp;&amp; tar xf -)
+<tt>git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ &amp;&amp; tar xf -)</tt>
</dt>
<dd>
<p>
@@ -662,7 +662,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git archive --format=tar --prefix=git-1.4.0/ v1.4.0 | gzip &gt;git-1.4.0.tar.gz
+<tt>git archive --format=tar --prefix=git-1.4.0/ v1.4.0 | gzip &gt;git-1.4.0.tar.gz</tt>
</dt>
<dd>
<p>
@@ -670,7 +670,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git archive --format=tar.gz --prefix=git-1.4.0/ v1.4.0 &gt;git-1.4.0.tar.gz
+<tt>git archive --format=tar.gz --prefix=git-1.4.0/ v1.4.0 &gt;git-1.4.0.tar.gz</tt>
</dt>
<dd>
<p>
@@ -678,7 +678,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git archive --prefix=git-1.4.0/ -o git-1.4.0.tar.gz v1.4.0
+<tt>git archive --prefix=git-1.4.0/ -o git-1.4.0.tar.gz v1.4.0</tt>
</dt>
<dd>
<p>
@@ -686,7 +686,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git archive --format=tar --prefix=git-1.4.0/ v1.4.0&#94;{tree} | gzip &gt;git-1.4.0.tar.gz
+<tt>git archive --format=tar --prefix=git-1.4.0/ v1.4.0&#94;{tree} | gzip &gt;git-1.4.0.tar.gz</tt>
</dt>
<dd>
<p>
@@ -695,7 +695,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ &gt; git-1.4.0-docs.zip
+<tt>git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ &gt; git-1.4.0-docs.zip</tt>
</dt>
<dd>
<p>
@@ -704,7 +704,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git archive -o latest.zip HEAD
+<tt>git archive -o latest.zip HEAD</tt>
</dt>
<dd>
<p>
@@ -714,7 +714,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git config tar.tar.xz.command "xz -c"
+<tt>git config tar.tar.xz.command "xz -c"</tt>
</dt>
<dd>
<p>
@@ -735,7 +735,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-19 20:01:51 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
16 git-archive.txt
@@ -142,41 +142,41 @@ while archiving any tree in your `$GIT_DIR/info/attributes` file.
EXAMPLES
--------
-git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
+`git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)`::
Create a tar archive that contains the contents of the
latest commit on the current branch, and extract it in the
`/var/tmp/junk` directory.
-git archive --format=tar --prefix=git-1.4.0/ v1.4.0 | gzip >git-1.4.0.tar.gz::
+`git archive --format=tar --prefix=git-1.4.0/ v1.4.0 | gzip >git-1.4.0.tar.gz`::
Create a compressed tarball for v1.4.0 release.
-git archive --format=tar.gz --prefix=git-1.4.0/ v1.4.0 >git-1.4.0.tar.gz::
+`git archive --format=tar.gz --prefix=git-1.4.0/ v1.4.0 >git-1.4.0.tar.gz`::
Same as above, but using the builtin tar.gz handling.
-git archive --prefix=git-1.4.0/ -o git-1.4.0.tar.gz v1.4.0::
+`git archive --prefix=git-1.4.0/ -o git-1.4.0.tar.gz v1.4.0`::
Same as above, but the format is inferred from the output file.
-git archive --format=tar --prefix=git-1.4.0/ v1.4.0{caret}\{tree\} | gzip >git-1.4.0.tar.gz::
+`git archive --format=tar --prefix=git-1.4.0/ v1.4.0{caret}\{tree\} | gzip >git-1.4.0.tar.gz`::
Create a compressed tarball for v1.4.0 release, but without a
global extended pax header.
-git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs.zip::
+`git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs.zip`::
Put everything in the current head's Documentation/ directory
into 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.
-git archive -o latest.zip HEAD::
+`git archive -o latest.zip HEAD`::
Create a Zip archive that contains the contents of the latest
commit on the current branch. Note that the output format is
inferred by the extension of the output file.
-git config tar.tar.xz.command "xz -c"::
+`git config tar.tar.xz.command "xz -c"`::
Configure a "tar.xz" format for making LZMA-compressed tarfiles.
You can use it specifying `--format=tar.xz`, or by creating an
View
16 git-cherry-pick.html
@@ -603,7 +603,7 @@ <h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git cherry-pick master
+<tt>git cherry-pick master</tt>
</dt>
<dd>
<p>
@@ -612,10 +612,10 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git cherry-pick ..master
+<tt>git cherry-pick ..master</tt>
</dt>
<dt class="hdlist1">
-git cherry-pick ^HEAD master
+<tt>git cherry-pick ^HEAD master</tt>
</dt>
<dd>
<p>
@@ -624,7 +624,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git cherry-pick master&#126;4 master&#126;2
+<tt>git cherry-pick master&#126;4 master&#126;2</tt>
</dt>
<dd>
<p>
@@ -634,7 +634,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git cherry-pick -n master~1 next
+<tt>git cherry-pick -n master~1 next</tt>
</dt>
<dd>
<p>
@@ -645,7 +645,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git cherry-pick --ff ..next
+<tt>git cherry-pick --ff ..next</tt>
</dt>
<dd>
<p>
@@ -657,7 +657,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git rev-list --reverse master -- README | git cherry-pick -n --stdin
+<tt>git rev-list --reverse master -- README | git cherry-pick -n --stdin</tt>
</dt>
<dd>
<p>
@@ -718,7 +718,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-23 00:49:30 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
14 git-cherry-pick.txt
@@ -112,31 +112,31 @@ effect to your index in a row.
EXAMPLES
--------
-git cherry-pick master::
+`git cherry-pick master`::
Apply the change introduced by the commit at the tip of the
master branch and create a new commit with this change.
-git cherry-pick ..master::
-git cherry-pick ^HEAD master::
+`git cherry-pick ..master`::
+`git cherry-pick ^HEAD master`::
Apply the changes introduced by all commits that are ancestors
of master but not of HEAD to produce new commits.
-git cherry-pick master{tilde}4 master{tilde}2::
+`git cherry-pick master{tilde}4 master{tilde}2`::
Apply the changes introduced by the fifth and third last
commits pointed to by master and create 2 new commits with
these changes.
-git cherry-pick -n master~1 next::
+`git cherry-pick -n master~1 next`::
Apply to the working tree and the index the changes introduced
by the second last commit pointed to by master and by the last
commit pointed to by next, but do not create any commit with
these changes.
-git cherry-pick --ff ..next::
+`git cherry-pick --ff ..next`::
If history is linear and HEAD is an ancestor of next, update
the working tree and advance the HEAD pointer to match next.
@@ -144,7 +144,7 @@ git cherry-pick --ff ..next::
are in next but not HEAD to the current branch, creating a new
commit for each new change.
-git rev-list --reverse master \-- README | git cherry-pick -n --stdin::
+`git rev-list --reverse master \-- README | git cherry-pick -n --stdin`::
Apply the changes introduced by all commits on the master
branch that touched README to the working tree and index,
View
8 git-grep.html
@@ -848,7 +848,7 @@ <h2 id="_examples">Examples</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git grep &#39;time_t&#39; -- &#39;*.[ch]&#39;
+<tt>git grep &#39;time_t&#39; -- &#39;*.[ch]&#39;</tt>
</dt>
<dd>
<p>
@@ -857,7 +857,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git grep -e &#39;#define&#39; --and \( -e MAX_PATH -e PATH_MAX \)
+<tt>git grep -e &#39;#define&#39; --and \( -e MAX_PATH -e PATH_MAX \)</tt>
</dt>
<dd>
<p>
@@ -866,7 +866,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git grep --all-match -e NODE -e Unexpected
+<tt>git grep --all-match -e NODE -e Unexpected</tt>
</dt>
<dd>
<p>
@@ -882,7 +882,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-06-30 01:18:40 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
6 git-grep.txt
@@ -215,15 +215,15 @@ OPTIONS
Examples
--------
-git grep {apostrophe}time_t{apostrophe} \-- {apostrophe}*.[ch]{apostrophe}::
+`git grep {apostrophe}time_t{apostrophe} \-- {apostrophe}*.[ch]{apostrophe}`::
Looks for `time_t` in all tracked .c and .h files in the working
directory and its subdirectories.
-git grep -e {apostrophe}#define{apostrophe} --and \( -e MAX_PATH -e PATH_MAX \)::
+`git grep -e {apostrophe}#define{apostrophe} --and \( -e MAX_PATH -e PATH_MAX \)`::
Looks for a line that has `#define` and either `MAX_PATH` or
`PATH_MAX`.
-git grep --all-match -e NODE -e Unexpected::
+`git grep --all-match -e NODE -e Unexpected`::
Looks for a line that has `NODE` or `Unexpected` in
files that have lines that match both.
View
18 git-gui.html
@@ -481,7 +481,7 @@ <h2 id="_examples">Examples</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git gui blame Makefile
+<tt>git gui blame Makefile</tt>
</dt>
<dd>
<p>
@@ -494,7 +494,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git gui blame v0.99.8 Makefile
+<tt>git gui blame v0.99.8 Makefile</tt>
</dt>
<dd>
<p>
@@ -505,7 +505,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git gui blame --line=100 Makefile
+<tt>git gui blame --line=100 Makefile</tt>
</dt>
<dd>
<p>
@@ -514,7 +514,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git gui citool
+<tt>git gui citool</tt>
</dt>
<dd>
<p>
@@ -524,7 +524,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git gui citool --amend
+<tt>git gui citool --amend</tt>
</dt>
<dd>
<p>
@@ -533,7 +533,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git gui citool --nocommit
+<tt>git gui citool --nocommit</tt>
</dt>
<dd>
<p>
@@ -544,7 +544,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git citool
+<tt>git citool</tt>
</dt>
<dd>
<p>
@@ -552,7 +552,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git gui browser maint
+<tt>git gui browser maint</tt>
</dt>
<dd>
<p>
@@ -601,7 +601,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-23 00:49:30 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
16 git-gui.txt
@@ -50,7 +50,7 @@ version::
Examples
--------
-git gui blame Makefile::
+`git gui blame Makefile`::
Show the contents of the file 'Makefile' in the current
working directory, and provide annotations for both the
@@ -59,41 +59,41 @@ git gui blame Makefile::
uncommitted changes (if any) are explicitly attributed to
'Not Yet Committed'.
-git gui blame v0.99.8 Makefile::
+`git gui blame v0.99.8 Makefile`::
Show the contents of 'Makefile' in revision 'v0.99.8'
and provide annotations for each line. Unlike the above
example the file is read from the object database and not
the working directory.
-git gui blame --line=100 Makefile::
+`git gui blame --line=100 Makefile`::
Loads annotations as described above and automatically
scrolls the view to center on line '100'.
-git gui citool::
+`git gui citool`::
Make one commit and return to the shell when it is complete.
This command returns a non-zero exit code if the window was
closed in any way other than by making a commit.
-git gui citool --amend::
+`git gui citool --amend`::
Automatically enter the 'Amend Last Commit' mode of
the interface.
-git gui citool --nocommit::
+`git gui citool --nocommit`::
Behave as normal citool, but instead of making a commit
simply terminate with a zero exit code. It still checks
that the index does not contain any unmerged entries, so
you can use it as a GUI version of linkgit:git-mergetool[1]
-git citool::
+`git citool`::
Same as `git gui citool` (above).
-git gui browser maint::
+`git gui browser maint`::
Show a browser for the tree of the 'maint' branch. Files
selected in the browser can be viewed with the internal
View
18 git-log.html
@@ -2965,7 +2965,7 @@ <h2 id="_examples">Examples</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git log --no-merges
+<tt>git log --no-merges</tt>
</dt>
<dd>
<p>
@@ -2973,7 +2973,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git log v2.6.12.. include/scsi drivers/scsi
+<tt>git log v2.6.12.. include/scsi drivers/scsi</tt>
</dt>
<dd>
<p>
@@ -2982,7 +2982,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git log --since="2 weeks ago" -- gitk
+<tt>git log --since="2 weeks ago" -- gitk</tt>
</dt>
<dd>
<p>
@@ -2992,7 +2992,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git log --name-status release..test
+<tt>git log --name-status release..test</tt>
</dt>
<dd>
<p>
@@ -3002,7 +3002,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git log --follow builtin-rev-list.c
+<tt>git log --follow builtin-rev-list.c</tt>
</dt>
<dd>
<p>
@@ -3012,7 +3012,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git log --branches --not --remotes=origin
+<tt>git log --branches --not --remotes=origin</tt>
</dt>
<dd>
<p>
@@ -3022,7 +3022,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git log master --not --remotes=*/master
+<tt>git log master --not --remotes=*/master</tt>
</dt>
<dd>
<p>
@@ -3031,7 +3031,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git log -p -m --first-parent
+<tt>git log -p -m --first-parent</tt>
</dt>
<dd>
<p>
@@ -3197,7 +3197,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-23 00:49:30 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
16 git-log.txt
@@ -88,45 +88,45 @@ include::diff-generate-patch.txt[]
Examples
--------
-git log --no-merges::
+`git log --no-merges`::
Show the whole commit history, but skip any merges
-git log v2.6.12.. include/scsi drivers/scsi::
+`git log v2.6.12.. include/scsi drivers/scsi`::
Show all commits since version 'v2.6.12' that changed any file
in the include/scsi or drivers/scsi subdirectories
-git log --since="2 weeks ago" \-- gitk::
+`git log --since="2 weeks ago" \-- gitk`::
Show the changes during the last two weeks to the file 'gitk'.
The "--" is necessary to avoid confusion with the *branch* named
'gitk'
-git log --name-status release..test::
+`git log --name-status release..test`::
Show the commits that are in the "test" branch but not yet
in the "release" branch, along with the list of paths
each commit modifies.
-git log --follow builtin-rev-list.c::
+`git log --follow builtin-rev-list.c`::
Shows the commits that changed builtin-rev-list.c, including
those commits that occurred before the file was given its
present name.
-git log --branches --not --remotes=origin::
+`git log --branches --not --remotes=origin`::
Shows all commits that are in any of local branches but not in
any of remote-tracking branches for 'origin' (what you have that
origin doesn't).
-git log master --not --remotes=*/master::
+`git log master --not --remotes=*/master`::
Shows all commits that are in local master but not in any remote
repository master branches.
-git log -p -m --first-parent::
+`git log -p -m --first-parent`::
Shows the history including change diffs, but only from the
"main branch" perspective, skipping commits that come from merged
View
6 git-merge-file.html
@@ -506,7 +506,7 @@ <h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git merge-file README.my README README.upstream
+<tt>git merge-file README.my README README.upstream</tt>
</dt>
<dd>
<p>
@@ -515,7 +515,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git merge-file -L a -L b -L c tmp/a123 tmp/b234 tmp/c345
+<tt>git merge-file -L a -L b -L c tmp/a123 tmp/b234 tmp/c345</tt>
</dt>
<dd>
<p>
@@ -531,7 +531,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-03-15 23:30:14 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
4 git-merge-file.txt
@@ -76,12 +76,12 @@ OPTIONS
EXAMPLES
--------
-git merge-file README.my README README.upstream::
+`git merge-file README.my README README.upstream`::
combines the changes of README.my and README.upstream since README,
tries to merge them and writes the result into README.my.
-git merge-file -L a -L b -L c tmp/a123 tmp/b234 tmp/c345::
+`git merge-file -L a -L b -L c tmp/a123 tmp/b234 tmp/c345`::
merges tmp/a123 and tmp/c345 with the base tmp/b234, but uses labels
`a` and `c` instead of `tmp/a123` and `tmp/c345`.
View
26 git-push.html
@@ -1092,7 +1092,7 @@ <h2 id="_examples">Examples</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git push
+<tt>git push</tt>
</dt>
<dd>
<p>
@@ -1102,7 +1102,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git push origin
+<tt>git push origin</tt>
</dt>
<dd>
<p>
@@ -1115,9 +1115,9 @@ <h2 id="_examples">Examples</h2>
use <tt>git config remote.origin.push HEAD</tt>. Any valid &lt;refspec&gt; (like
the ones in the examples below) can be configured as the default for
<tt>git push origin</tt>.</p></div>
-<div class="dlist"><dl>
+</dd>
<dt class="hdlist1">
-git push origin
+<tt>git push origin :</tt>
</dt>
<dd>
<p>
@@ -1126,10 +1126,8 @@ <h2 id="_examples">Examples</h2>
description of "matching" branches.
</p>
</dd>
-</dl></div>
-</dd>
<dt class="hdlist1">
-git push origin master
+<tt>git push origin master</tt>
</dt>
<dd>
<p>
@@ -1141,7 +1139,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git push origin HEAD
+<tt>git push origin HEAD</tt>
</dt>
<dd>
<p>
@@ -1150,7 +1148,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git push origin master:satellite/master dev:satellite/dev
+<tt>git push origin master:satellite/master dev:satellite/dev</tt>
</dt>
<dd>
<p>
@@ -1161,7 +1159,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git push origin HEAD:master
+<tt>git push origin HEAD:master</tt>
</dt>
<dd>
<p>
@@ -1171,7 +1169,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git push origin master:refs/heads/experimental
+<tt>git push origin master:refs/heads/experimental</tt>
</dt>
<dd>
<p>
@@ -1183,7 +1181,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git push origin :experimental
+<tt>git push origin :experimental</tt>
</dt>
<dd>
<p>
@@ -1192,7 +1190,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git push origin &#43;dev:master
+<tt>git push origin &#43;dev:master</tt>
</dt>
<dd>
<p>
@@ -1226,7 +1224,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-03-15 23:30:14 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
20 git-push.txt
@@ -327,12 +327,12 @@ a case where you do mean to lose history.
Examples
--------
-git push::
+`git push`::
Works like `git push <remote>`, where <remote> is the
current branch's remote (or `origin`, if no remote is
configured for the current branch).
-git push origin::
+`git push origin`::
Without additional configuration, works like
`git push origin :`.
+
@@ -344,45 +344,45 @@ use `git config remote.origin.push HEAD`. Any valid <refspec> (like
the ones in the examples below) can be configured as the default for
`git push origin`.
-git push origin :::
+`git push origin :`::
Push "matching" branches to `origin`. See
<refspec> in the <<OPTIONS,OPTIONS>> section above for a
description of "matching" branches.
-git push origin master::
+`git push origin master`::
Find a ref that matches `master` in the source repository
(most likely, it would find `refs/heads/master`), and update
the same ref (e.g. `refs/heads/master`) in `origin` repository
with it. If `master` did not exist remotely, it would be
created.
-git push origin HEAD::
+`git push origin HEAD`::
A handy way to push the current branch to the same name on the
remote.
-git push origin master:satellite/master dev:satellite/dev::
+`git push origin master:satellite/master dev:satellite/dev`::
Use the source ref that matches `master` (e.g. `refs/heads/master`)
to update the ref that matches `satellite/master` (most probably
`refs/remotes/satellite/master`) in the `origin` repository, then
do the same for `dev` and `satellite/dev`.
-git push origin HEAD:master::
+`git push origin HEAD:master`::
Push the current branch to the remote ref matching `master` in the
`origin` repository. This form is convenient to push the current
branch without thinking about its local name.
-git push origin master:refs/heads/experimental::
+`git push origin master:refs/heads/experimental`::
Create the branch `experimental` in the `origin` repository
by copying the current `master` branch. This form is only
needed to create a new branch or tag in the remote repository when
the local name and the remote name are different; otherwise,
the ref name on its own will work.
-git push origin :experimental::
+`git push origin :experimental`::
Find a ref that matches `experimental` in the `origin` repository
(e.g. `refs/heads/experimental`), and delete it.
-git push origin {plus}dev:master::
+`git push origin {plus}dev:master`::
Update the origin repository's master branch with the dev branch,
allowing non-fast-forward updates. *This can leave unreferenced
commits dangling in the origin repository.* Consider the
View
10 git-remote-fd.html
@@ -449,7 +449,7 @@ <h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git fetch fd::17 master
+<tt>git fetch fd::17 master</tt>
</dt>
<dd>
<p>
@@ -458,7 +458,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git fetch fd::17/foo master
+<tt>git fetch fd::17/foo master</tt>
</dt>
<dd>
<p>
@@ -466,7 +466,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git push fd::7,8 master (as URL)
+<tt>git push fd::7,8 master (as URL)</tt>
</dt>
<dd>
<p>
@@ -476,7 +476,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git push fd::7,8/bar master
+<tt>git push fd::7,8/bar master</tt>
</dt>
<dd>
<p>
@@ -495,7 +495,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-01-04 22:05:44 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
8 git-remote-fd.txt
@@ -35,19 +35,19 @@ GIT_TRANSLOOP_DEBUG::
EXAMPLES
--------
-git fetch fd::17 master::
+`git fetch fd::17 master`::
Fetch master, using file descriptor #17 to communicate with
git-upload-pack.
-git fetch fd::17/foo master::
+`git fetch fd::17/foo master`::
Same as above.
-git push fd::7,8 master (as URL)::
+`git push fd::7,8 master (as URL)`::
Push master, using file descriptor #7 to read data from
git-receive-pack and file descriptor #8 to write data to
same service.
-git push fd::7,8/bar master::
+`git push fd::7,8/bar master`::
Same as above.
Documentation
View
6 git-revert.html
@@ -552,7 +552,7 @@ <h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git revert HEAD~3
+<tt>git revert HEAD~3</tt>
</dt>
<dd>
<p>
@@ -561,7 +561,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git revert -n master&#126;5..master&#126;2
+<tt>git revert -n master&#126;5..master&#126;2</tt>
</dt>
<dd>
<p>
@@ -584,7 +584,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-23 00:49:30 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
4 git-revert.txt
@@ -93,12 +93,12 @@ effect to your index in a row.
EXAMPLES
--------
-git revert HEAD~3::
+`git revert HEAD~3`::
Revert the changes specified by the fourth last commit in HEAD
and create a new commit with the reverted changes.
-git revert -n master{tilde}5..master{tilde}2::
+`git revert -n master{tilde}5..master{tilde}2`::
Revert the changes done by commits from the fifth last commit
in master (included) to the third last commit in master
View
6 git-rm.html
@@ -583,7 +583,7 @@ <h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git rm Documentation/\*.txt
+<tt>git rm Documentation/\*.txt</tt>
</dt>
<dd>
<p>
@@ -595,7 +595,7 @@ <h2 id="_examples">EXAMPLES</h2>
of files and subdirectories under the <tt>Documentation/</tt> directory.</p></div>
</dd>
<dt class="hdlist1">
-git rm -f git-*.sh
+<tt>git rm -f git-*.sh</tt>
</dt>
<dd>
<p>
@@ -616,7 +616,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-23 00:49:30 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
4 git-rm.txt
@@ -137,7 +137,7 @@ git diff --name-only --diff-filter=D -z | xargs -0 git rm --cached
EXAMPLES
--------
-git rm Documentation/\*.txt::
+`git rm Documentation/\*.txt`::
Removes all `*.txt` files from the index that are under the
`Documentation` directory and any of its subdirectories.
+
@@ -145,7 +145,7 @@ Note that the asterisk `*` is quoted from the shell in this
example; this lets git, and not the shell, expand the pathnames
of files and subdirectories under the `Documentation/` directory.
-git rm -f git-*.sh::
+`git rm -f git-*.sh`::
Because this example lets the shell expand the asterisk
(i.e. you are listing the files explicitly), it
does not remove `subdir/git-foo.sh`.
View
12 git-show.html
@@ -984,7 +984,7 @@ <h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git show v1.0.0
+<tt>git show v1.0.0</tt>
</dt>
<dd>
<p>
@@ -993,7 +993,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git show v1.0.0^{tree}
+<tt>git show v1.0.0^{tree}</tt>
</dt>
<dd>
<p>
@@ -1001,7 +1001,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git show -s --format=%s v1.0.0^{commit}
+<tt>git show -s --format=%s v1.0.0^{commit}</tt>
</dt>
<dd>
<p>
@@ -1010,7 +1010,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git show next~10:Documentation/README
+<tt>git show next~10:Documentation/README</tt>
</dt>
<dd>
<p>
@@ -1020,7 +1020,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git show master:Makefile master:t/Makefile
+<tt>git show master:Makefile master:t/Makefile</tt>
</dt>
<dd>
<p>
@@ -1111,7 +1111,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-23 00:49:30 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
10 git-show.txt
@@ -48,23 +48,23 @@ include::pretty-formats.txt[]
EXAMPLES
--------
-git show v1.0.0::
+`git show v1.0.0`::
Shows the tag `v1.0.0`, along with the object the tags
points at.
-git show v1.0.0^\{tree\}::
+`git show v1.0.0^\{tree\}`::
Shows the tree pointed to by the tag `v1.0.0`.
-git show -s --format=%s v1.0.0^\{commit\}::
+`git show -s --format=%s v1.0.0^\{commit\}`::
Shows the subject of the commit pointed to by the
tag `v1.0.0`.
-git show next~10:Documentation/README::
+`git show next~10:Documentation/README`::
Shows the contents of the file `Documentation/README` as
they were current in the 10th last commit of the branch
`next`.
-git show master:Makefile master:t/Makefile::
+`git show master:Makefile master:t/Makefile`::
Concatenates the contents of said Makefiles in the head
of the branch `master`.
View
12 git-tar-tree.html
@@ -485,7 +485,7 @@ <h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git tar-tree HEAD junk | (cd /var/tmp/ &amp;&amp; tar xf -)
+<tt>git tar-tree HEAD junk | (cd /var/tmp/ &amp;&amp; tar xf -)</tt>
</dt>
<dd>
<p>
@@ -495,7 +495,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git tar-tree v1.4.0 git-1.4.0 | gzip &gt;git-1.4.0.tar.gz
+<tt>git tar-tree v1.4.0 git-1.4.0 | gzip &gt;git-1.4.0.tar.gz</tt>
</dt>
<dd>
<p>
@@ -503,7 +503,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git tar-tree v1.4.0&#94;{tree} git-1.4.0 | gzip &gt;git-1.4.0.tar.gz
+<tt>git tar-tree v1.4.0&#94;{tree} git-1.4.0 | gzip &gt;git-1.4.0.tar.gz</tt>
</dt>
<dd>
<p>
@@ -512,7 +512,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git tar-tree --remote=example.com:git.git v1.4.0 &gt;git-1.4.0.tar
+<tt>git tar-tree --remote=example.com:git.git v1.4.0 &gt;git-1.4.0.tar</tt>
</dt>
<dd>
<p>
@@ -520,7 +520,7 @@ <h2 id="_examples">EXAMPLES</h2>
</p>
</dd>
<dt class="hdlist1">
-git tar-tree HEAD:Documentation/ git-docs &gt; git-1.4.0-docs.tar
+<tt>git tar-tree HEAD:Documentation/ git-docs &gt; git-1.4.0-docs.tar</tt>
</dt>
<dd>
<p>
@@ -536,7 +536,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-23 00:49:30 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
10 git-tar-tree.txt
@@ -53,26 +53,26 @@ tar.umask::
EXAMPLES
--------
-git tar-tree HEAD junk | (cd /var/tmp/ && tar xf -)::
+`git tar-tree HEAD junk | (cd /var/tmp/ && tar xf -)`::
Create a tar archive that contains the contents of the
latest commit on the current branch, and extracts it in
`/var/tmp/junk` directory.
-git tar-tree v1.4.0 git-1.4.0 | gzip >git-1.4.0.tar.gz::
+`git tar-tree v1.4.0 git-1.4.0 | gzip >git-1.4.0.tar.gz`::
Create a tarball for v1.4.0 release.
-git tar-tree v1.4.0{caret}\{tree\} git-1.4.0 | gzip >git-1.4.0.tar.gz::
+`git tar-tree v1.4.0{caret}\{tree\} git-1.4.0 | gzip >git-1.4.0.tar.gz`::
Create a tarball for v1.4.0 release, but without a
global extended pax header.
-git tar-tree --remote=example.com:git.git v1.4.0 >git-1.4.0.tar::
+`git tar-tree --remote=example.com:git.git v1.4.0 >git-1.4.0.tar`::
Get a tarball v1.4.0 from example.com.
-git tar-tree HEAD:Documentation/ git-docs > git-1.4.0-docs.tar::
+`git tar-tree HEAD:Documentation/ git-docs > git-1.4.0-docs.tar`::
Put everything in the current head's Documentation/ directory
into 'git-1.4.0-docs.tar', with the prefix 'git-docs/'.
View
6 git-whatchanged.html
@@ -1016,7 +1016,7 @@ <h2 id="_examples">Examples</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-git whatchanged -p v2.6.12.. include/scsi drivers/scsi
+<tt>git whatchanged -p v2.6.12.. include/scsi drivers/scsi</tt>
</dt>
<dd>
<p>
@@ -1025,7 +1025,7 @@ <h2 id="_examples">Examples</h2>
</p>
</dd>
<dt class="hdlist1">
-git whatchanged --since="2 weeks ago" -- gitk
+<tt>git whatchanged --since="2 weeks ago" -- gitk</tt>
</dt>
<dd>
<p>
@@ -1042,7 +1042,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-07-23 00:49:30 UTC
+Last updated 2011-08-05 00:04:52 UTC
</div>
</div>
</body>
View
4 git-whatchanged.txt
@@ -53,12 +53,12 @@ include::pretty-formats.txt[]
Examples
--------
-git whatchanged -p v2.6.12.. include/scsi drivers/scsi::
+`git whatchanged -p v2.6.12.. include/scsi drivers/scsi`::
Show as patches the commits since version 'v2.6.12' that changed
any file in the include/scsi or drivers/scsi subdirectories
-git whatchanged --since="2 weeks ago" \-- gitk::
+`git whatchanged --since="2 weeks ago" \-- gitk`::
Show the changes during the last two weeks to the file 'gitk'.
The "--" is necessary to avoid confusion with the *branch* named
Please sign in to comment.
Something went wrong with that request. Please try again.