[med-svn] r6322 - trunk/community/website/docs

Charles Plessy plessy at alioth.debian.org
Sun Mar 20 01:17:22 UTC 2011


Author: plessy
Date: 2011-03-20 01:17:13 +0000 (Sun, 20 Mar 2011)
New Revision: 6322

Modified:
   trunk/community/website/docs/policy.xml
Log:
Example commands to track new branches


Modified: trunk/community/website/docs/policy.xml
===================================================================
--- trunk/community/website/docs/policy.xml	2011-03-20 01:05:30 UTC (rev 6321)
+++ trunk/community/website/docs/policy.xml	2011-03-20 01:17:13 UTC (rev 6322)
@@ -194,6 +194,11 @@
 				To clone and follow every branch of a git repository containing a package that is already in the Debian archive, you can use the <command>debcheckout</command> command with its <command><option>--git-track='*'</option></command> option. To restrict the tracked branch to the standard ones used by <command>git-buildpackage</command>, <literal>master,upstream,pristine-tar</literal> can be passed instead of the wildcard.
 			</para>
 			<para>
+				Example commands to track new branches: <programlisting>
+git branch -t upstream origin/upstream
+git branch -t pristine-tar origin/pristine-tar</programlisting>
+  		</para>
+			<para>
 				If the <package>devscripts</package> variables <varname>DEBEMAIL</varname> and <varname>DEBFULLNAME</varname> are set, <command>debcheckout</command> will set <command>git</command>'s options <varname>user.email</varname> and <varname>user.name</varname> accordingly.
 			</para>
 		</sect2>




More information about the debian-med-commit mailing list