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

Charles Plessy plessy at moszumanska.debian.org
Sat Nov 30 05:43:27 UTC 2013


Author: plessy
Date: 2013-11-30 05:43:27 +0000 (Sat, 30 Nov 2013)
New Revision: 15345

Modified:
   trunk/community/website/docs/policy.xml
Log:
Explain how to change the default branch.


Modified: trunk/community/website/docs/policy.xml
===================================================================
--- trunk/community/website/docs/policy.xml	2013-11-30 05:16:17 UTC (rev 15344)
+++ trunk/community/website/docs/policy.xml	2013-11-30 05:43:27 UTC (rev 15345)
@@ -320,10 +320,11 @@
 				  url="http://www.gitorious.com">Gitorious</ulink>, it may be easier to
 				  forward changes made in the Debian package if this one is itself
 				  mirrored on the same platform, as a clone. In that case, the layouts
-				  may vary from package to packages, and the branch that contains the Debian
-				  will probably not be the master one.  It must be indicated in the
-				  <link linkend="vcs-url">VCS URL</link> with the <option>-b</option>
-				  option.
+				  may vary from package to packages, and the branch that contains the
+				  Debian work will probably not be the master one.  If it is not the
+				  <link linkend="git-change-default-branch">default branch</link>, It must
+				  be indicated in the <link linkend="vcs-url">VCS URL</link> with the
+				  <option>-b</option> option.
 				 </para>
 				<para>
 					Even when you are not using <command>git-buildpackage</command>,
@@ -409,6 +410,16 @@
 				remote branch is called <quote>origin</quote>.
 			</para>
 			</sect3>
+			<sect3 id="git-change-default-branch">
+				<title>To change the default branch.</title>
+				<para>
+					If the Debian work is not on the <literal>master</literal> branch, change
+					the default branch by editing the <filename>HEAD</filename> file in the
+					bare repository on Alioth, and replace <literal>master</literal> by the
+					name of the new default branch.  For a branch called <literal>debian/unstable</literal>
+					the contents of the file will <literal>refs/heads/debian/unstable</literal>.
+				</para>
+			</sect3>
 			<sect3 id="push-package-to-alioth">
 				<title>To push the package.</title>
 				<para>(make sure you've added the alioth remote!), do the




More information about the debian-med-commit mailing list