[med-svn] r17454 - trunk/community/website/docs
Charles Plessy
plessy at moszumanska.debian.org
Sat Jul 12 12:48:44 UTC 2014
Author: plessy
Date: 2014-07-12 12:48:44 +0000 (Sat, 12 Jul 2014)
New Revision: 17454
Modified:
trunk/community/website/docs/policy.xml
Log:
Mention gbp-clone side-to-side with debcheckout.
Modified: trunk/community/website/docs/policy.xml
===================================================================
--- trunk/community/website/docs/policy.xml 2014-07-12 05:13:50 UTC (rev 17453)
+++ trunk/community/website/docs/policy.xml 2014-07-12 12:48:44 UTC (rev 17454)
@@ -136,10 +136,21 @@
<command>debcheckout</command> <option>--user</option> <replaceable><username></replaceable> <replaceable>svn://svn.debian.org/debian-med/trunk/packages/<package>/trunk</replaceable> <replaceable><package></replaceable>
<command>debcheckout</command> <option>--user</option> <replaceable><username></replaceable> <replaceable>git://git.debian.org/debian-med/<package>.git</replaceable> <option>--git-track <replaceable>'*'</replaceable></option></programlisting>
</para>
+ <para>
+ For packages managed with Git, the option <option>--git-track</option>
+ ensures that the clone has all the branches tracked. This is
+ needed when using the <link linkend="git-buildpackage">git-buildpackage</link>
+ helper. Alternatively to <command>debcheckout</command>, the command
+ <command>gbp-clone</command> will also track the relevant branches:<programlisting>
+<command>gbp-clone</command> <replaceable>git+ssh://git.debian.org/git/debian-med/<package>.git</replaceable></programlisting>
+ </para>
</listitem>
<listitem>
<para>
- For read-only access, remove the <option>--user</option> option.
+ For read-only access with <command>debcheckout</command>, remove
+ the <option>--user</option> option. With <command>gbp-clone</command>,
+ use an anonymous URL like the following:<programlisting>
+<command>gbp-clone</command> <replaceable>git://anonscm.debian.org/debian-med/<package>.git</replaceable></programlisting>
</para>
</listitem>
</itemizedlist>
More information about the debian-med-commit
mailing list