aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-09-09 13:23:19 +0200
committerGuido Günther <agx@sigxcpu.org>2020-09-09 13:23:19 +0200
commitc02938fd87042429d6d6102ba55e2b7eee9712f8 (patch)
tree9a8fb914f02e0b88b783c0fe037057ff5a4dbac5
parent064834b994ef8ef30434f1a6c5765531313ca5bd (diff)
docs: Add example for exporting the source treeHEADmaster
See #969952
-rw-r--r--docs/manpages/gbp-buildpackage.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manpages/gbp-buildpackage.xml b/docs/manpages/gbp-buildpackage.xml
index 39e0b0b..073f0fb 100644
--- a/docs/manpages/gbp-buildpackage.xml
+++ b/docs/manpages/gbp-buildpackage.xml
@@ -816,6 +816,12 @@
<screen>
DIST=wheezy ARCH=i386 &git-pbuilder; create
</screen>
+ <para>
+ To export the source tree without performing any build you can use:
+ </para>
+ <screen>
+ gbp buildpackage --git-export-dir=/where/to/export --git-builder=/bin/true --git-no-pbuilder --git-no-hooks --git-no-purge
+ </screen>
</refsect1>
<refsect1>
&man.gbp.config-files;