OSDN Git Service

Add Git official document to help
[tortoisegit/TortoiseGitJp.git] / doc / source / en / TortoiseGit / git_doc / git-mv.html.xml
diff --git a/doc/source/en/TortoiseGit/git_doc/git-mv.html.xml b/doc/source/en/TortoiseGit/git_doc/git-mv.html.xml
new file mode 100644 (file)
index 0000000..159a5e6
--- /dev/null
@@ -0,0 +1,86 @@
+<?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-mv(1)">\r
+<articleinfo>\r
+    <title>git-mv(1)</title>\r
+        <indexterm>\r
+                <primary>git-mv(1)</primary>\r
+        </indexterm>\r
+</articleinfo>\r
+<simplesect id="_name">\r
+<title>NAME</title>\r
+<simpara>git-mv - Move or rename a file, a directory, or a symlink</simpara>\r
+</simplesect>\r
+<simplesect id="_synopsis">\r
+<title>SYNOPSIS</title>\r
+<simpara><emphasis>git mv</emphasis> &lt;options&gt;&#8230; &lt;args&gt;&#8230;</simpara>\r
+</simplesect>\r
+<simplesect id="_description">\r
+<title>DESCRIPTION</title>\r
+<simpara>This script is used to move or rename a file, directory or symlink.</simpara>\r
+<literallayout class="monospaced">git mv [-f] [-n] &lt;source&gt; &lt;destination&gt;\r
+git mv [-f] [-n] [-k] &lt;source&gt; ... &lt;destination directory&gt;</literallayout>\r
+<simpara>In the first form, it renames &lt;source&gt;, which must exist and be either\r
+a file, symlink or directory, to &lt;destination&gt;.\r
+In the second form, the last argument has to be an existing\r
+directory; the given sources will be moved into this directory.</simpara>\r
+<simpara>The index is updated after successful completion, but the change must still be\r
+committed.</simpara>\r
+</simplesect>\r
+<simplesect id="_options">\r
+<title>OPTIONS</title>\r
+<variablelist>\r
+<varlistentry>\r
+<term>\r
+-f\r
+</term>\r
+<listitem>\r
+<simpara>\r
+        Force renaming or moving of a file even if the target exists\r
+</simpara>\r
+</listitem>\r
+</varlistentry>\r
+<varlistentry>\r
+<term>\r
+-k\r
+</term>\r
+<listitem>\r
+<simpara>\r
+        Skip move or rename actions which would lead to an error\r
+        condition. An error happens when a source is neither existing nor\r
+        controlled by GIT, or when it would overwrite an existing\r
+        file unless <emphasis>-f</emphasis> is given.\r
+</simpara>\r
+</listitem>\r
+</varlistentry>\r
+<varlistentry>\r
+<term>\r
+-n\r
+</term>\r
+<term>\r
+--dry-run\r
+</term>\r
+<listitem>\r
+<simpara>\r
+        Do nothing; only show what would happen\r
+</simpara>\r
+</listitem>\r
+</varlistentry>\r
+</variablelist>\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;\r
+Rewritten by Ryan Anderson &lt;<ulink url="mailto:ryan@michonline.com">ryan@michonline.com</ulink>&gt;\r
+Move functionality added by Josef Weidendorfer &lt;<ulink url="mailto:Josef.Weidendorfer@gmx.de">Josef.Weidendorfer@gmx.de</ulink>&gt;</simpara>\r
+</simplesect>\r
+<simplesect id="_documentation">\r
+<title>Documentation</title>\r
+<simpara>Documentation by David Greaves, Junio C Hamano 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