OSDN Git Service

Add Git official document to help
[tortoisegit/TortoiseGitJp.git] / doc / source / en / TortoiseGit / git_doc / git-shell.html.xml
diff --git a/doc/source/en/TortoiseGit/git_doc/git-shell.html.xml b/doc/source/en/TortoiseGit/git_doc/git-shell.html.xml
new file mode 100644 (file)
index 0000000..a2e1fcd
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\r
+\r
+<article lang="en" id="git-shell(1)">\r
+<articleinfo>\r
+    <title>git-shell(1)</title>\r
+        <indexterm>\r
+                <primary>git-shell(1)</primary>\r
+        </indexterm>\r
+</articleinfo>\r
+<simplesect id="_name">\r
+<title>NAME</title>\r
+<simpara>git-shell - Restricted login shell for GIT-only SSH access</simpara>\r
+</simplesect>\r
+<simplesect id="_synopsis">\r
+<title>SYNOPSIS</title>\r
+<simpara><emphasis>$(git --exec-path)/git-shell</emphasis> -c &lt;command&gt; &lt;argument&gt;</simpara>\r
+</simplesect>\r
+<simplesect id="_description">\r
+<title>DESCRIPTION</title>\r
+<simpara>This is meant to be used as a login shell for SSH accounts you want\r
+to restrict to GIT pull/push access only. It permits execution only\r
+of server-side GIT commands implementing the pull/push functionality.\r
+The commands can be executed only by the <emphasis>-c</emphasis> option; the shell is not\r
+interactive.</simpara>\r
+<simpara>Currently, only three commands are permitted to be called, <emphasis>git-receive-pack</emphasis>\r
+<emphasis>git-upload-pack</emphasis> with a single required argument or <emphasis>cvs server</emphasis> (to invoke\r
+<emphasis>git-cvsserver</emphasis>).</simpara>\r
+</simplesect>\r
+<simplesect id="_author">\r
+<title>Author</title>\r
+<simpara>Written by Linus Torvalds &lt;<ulink url="mailto:torvalds@osdl.org">torvalds@osdl.org</ulink>&gt;</simpara>\r
+</simplesect>\r
+<simplesect id="_documentation">\r
+<title>Documentation</title>\r
+<simpara>Documentation by Petr Baudis and the git-list &lt;<ulink url="mailto:git@vger.kernel.org">git@vger.kernel.org</ulink>&gt;.</simpara>\r
+</simplesect>\r
+<simplesect id="_git">\r
+<title>GIT</title>\r
+<simpara>Part of the <xref linkend="git(1)"/> suite</simpara>\r
+</simplesect>\r
+</article>\r