[website] 02/02: Document `gbp clone` as alternative to `debcheckout`.

Bas Couwenberg sebastic at debian.org
Sat Jul 9 00:26:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository website.

commit d5789f868a3eed9ae4d512e1775836229e7d5911
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jul 9 02:24:53 2016 +0200

    Document `gbp clone` as alternative to `debcheckout`.
---
 policy.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/policy.xml b/policy.xml
index c4e1084..d92c275 100644
--- a/policy.xml
+++ b/policy.xml
@@ -1081,12 +1081,21 @@ DIST=<replaceable><distribution></replaceable> ARCH=<replaceable><archi
           <para id="debcheckout-git-track">
             When the package is already in the Debian archive, you can use the
             <command>debcheckout</command> command with its
-            <option>--git-track='*'</option> option.
+            <option>--git-track='*'</option> option to clone the package git
+            repository.
 <programlisting>
 <command>debcheckout</command> <option>--git-track='*'</option> <replaceable><package></replaceable>
 </programlisting>
           </para>
           <para>
+            For packages that are not in the archive yet, you can use the
+            <command>gbp clone</command> command with its
+            <option>--all</option> option to achieve the same.
+<programlisting>
+<command>gbp clone</command> <option>--all</option> https://anonscm.debian.org/git/pkg-grass/<replaceable><package></replaceable>.git
+</programlisting>
+          </para>
+          <para>
             To update the <literal>master</literal>, <literal>upstream</literal>
             and <literal>pristine-tar</literal> branches from an existing clone
             at once, use the <command>gbp pull</command> command.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/website.git



More information about the Pkg-grass-devel mailing list