[med-svn] r15332 - trunk/community/website/docs
Charles Plessy
plessy at moszumanska.debian.org
Sat Nov 30 03:16:09 UTC 2013
Author: plessy
Date: 2013-11-30 03:16:09 +0000 (Sat, 30 Nov 2013)
New Revision: 15332
Modified:
trunk/community/website/docs/policy.xml
Log:
Moved sections to first advice how to set up name and email before creating a reopsitory.
Modified: trunk/community/website/docs/policy.xml
===================================================================
--- trunk/community/website/docs/policy.xml 2013-11-30 03:13:34 UTC (rev 15331)
+++ trunk/community/website/docs/policy.xml 2013-11-30 03:16:09 UTC (rev 15332)
@@ -341,6 +341,16 @@
<sect2 id="git-tips">
<title>Git tips</title>
+ <sect3 id="debcheckout-sets-git-options">
+ <title>Configure Git to commit using your packager name and address.</title>
+ <para>The <option>--global</option> option is to say Git these are the default parameters for every Git repository you commit to,
+ without it the settings will be per-repository only:</para>
+ <para>
+<programlisting>
+<command>git config</command> <option><optional>--global</optional></option> <option>user.name "$DEBFULLNAME"</option>
+<command>git config</command> <option><optional>--global</optional></option> <option>user.email "$DEBEMAIL"</option></programlisting>
+ </para>
+ </sect3>
<sect3 id="new-repository-with-gbp">
<title>To create a new local git repository</title>
<literallayout>When the upstream sources are distributed as compressed <command>tar</command> archives (<literal>tar.gz</literal>, …):</literallayout>
@@ -358,16 +368,6 @@
and <literal>upstream</literal>, which will contain the upstream source.
</literallayout>
</sect3>
- <sect3 id="debcheckout-sets-git-options">
- <title>Configure Git to commit using your packager name and address.</title>
- <para>The <option>--global</option> option is to say Git these are the default parameters for every Git repository you commit to,
- without it the settings will be per-repository only:</para>
- <para>
-<programlisting>
-<command>git config</command> <option><optional>--global</optional></option> <option>user.name "$DEBFULLNAME"</option>
-<command>git config</command> <option><optional>--global</optional></option> <option>user.email "$DEBEMAIL"</option></programlisting>
- </para>
- </sect3>
<sect3 id="debcheckout-git-track">
<title>To clone and follow every branch of a git repository.</title>
<para>When the package is already in the Debian archive, you can use the
More information about the debian-med-commit
mailing list