make sure I did not accidentally rewind master beyond what I\r
already pushed out. "ko" shorthand points at the repository I have\r
at kernel.org, and looks like this:\r
- $ cat .git/remotes/ko\r
- URL: kernel.org:/pub/scm/git/git.git\r
- Pull: master:refs/tags/ko-master\r
- Pull: maint:refs/tags/ko-maint\r
- Push: master\r
- Push: +pu\r
- Push: maint\r
-In the output from "git show-branch", "master" should have\r
-everything "ko-master" has.\r
</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ cat .git/remotes/ko\r
+URL: kernel.org:/pub/scm/git/git.git\r
+Pull: master:refs/tags/ko-master\r
+Pull: maint:refs/tags/ko-maint\r
+Push: master\r
+Push: +pu\r
+Push: maint</tt></pre>\r
+</div></div>\r
+<p>In the output from "git show-branch", "master" should have\r
+everything "ko-master" has.</p>\r
</li>\r
<li>\r
<p>\r
<p>The actual configuration line should be on one line.</p>\r
</dd>\r
<dt>\r
+Run git-daemon to serve /pub/scm from xinetd.\r
+</dt>\r
+<dd>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ cat /etc/xinetd.d/git-daemon\r
+# default: off\r
+# description: The git server offers access to git repositories\r
+service git\r
+{\r
+ disable = no\r
+ type = UNLISTED\r
+ port = 9418\r
+ socket_type = stream\r
+ wait = no\r
+ user = nobody\r
+ server = /usr/bin/git-daemon\r
+ server_args = --inetd --syslog --export-all --base-path=/pub/scm\r
+ log_on_failure += USERID\r
+}</tt></pre>\r
+</div></div>\r
+<p>Check your xinetd(8) documentation and setup, this is from a Fedora system.\r
+Others might be different.</p>\r
+</dd>\r
+<dt>\r
Give push/pull only access to developers.\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 30-May-2006 07:20:54 UTC\r
+Last updated 06-Jun-2006 01:23:29 UTC\r
</div>\r
</div>\r
</body>\r
<11> make sure I did not accidentally rewind master beyond what I
already pushed out. "ko" shorthand points at the repository I have
at kernel.org, and looks like this:
- $ cat .git/remotes/ko
- URL: kernel.org:/pub/scm/git/git.git
- Pull: master:refs/tags/ko-master
- Pull: maint:refs/tags/ko-maint
- Push: master
- Push: +pu
- Push: maint
++
+------------
+$ cat .git/remotes/ko
+URL: kernel.org:/pub/scm/git/git.git
+Pull: master:refs/tags/ko-master
+Pull: maint:refs/tags/ko-maint
+Push: master
+Push: +pu
+Push: maint
+------------
++
In the output from "git show-branch", "master" should have
everything "ko-master" has.
+
<12> push out the bleeding edge.
<13> push the tag out, too.
+
The actual configuration line should be on one line.
+Run git-daemon to serve /pub/scm from xinetd.::
++
+------------
+$ cat /etc/xinetd.d/git-daemon
+# default: off
+# description: The git server offers access to git repositories
+service git
+{
+ disable = no
+ type = UNLISTED
+ port = 9418
+ socket_type = stream
+ wait = no
+ user = nobody
+ server = /usr/bin/git-daemon
+ server_args = --inetd --syslog --export-all --base-path=/pub/scm
+ log_on_failure += USERID
+}
+------------
++
+Check your xinetd(8) documentation and setup, this is from a Fedora system.
+Others might be different.
+
Give push/pull only access to developers.::
+
------------
<div class="content">\r
<pre><tt>$ git ls-tree d0492b36\r
100644 blob a0423896973644771497bdc03eb99d5281615b51 file.txt\r
-$ git cat-file commit a0423896\r
+$ git cat-file blob a0423896\r
hello world!</tt></pre>\r
</div></div>\r
<p>and the "parent" object refers to the previous commit:</p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 04-Jun-2006 07:24:35 UTC\r
+Last updated 06-Jun-2006 01:23:28 UTC\r
</div>\r
</div>\r
</body>\r
------------------------------------------------
$ git ls-tree d0492b36
100644 blob a0423896973644771497bdc03eb99d5281615b51 file.txt
-$ git cat-file commit a0423896
+$ git cat-file blob a0423896
hello world!
------------------------------------------------