.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH DEP\-14\-CONVERT\-GIT\-BRANCH\-NAMES 1 "Utilitaires Debian" DEBIAN 
.SH NOM
dep\-14\-convert\-git\-branch\-names \- Convert git repository branch names to
follow DEP\-14.
.SH DESCRIPTION
This helper tool assists in renaming the branch names by printing the
necessary git commands for local repository and salsa commands remote
repository to rename the branches and to update the default git branch. It
also prints commands to create a gbp.conf with matching branch names.
.PP
As this script does not actually modify anything, so feel free to run this
script in any Debian packaging repository to see what it outputs.
.
Renaming is needed as git defaults to 'main' as the branch name. Previously
git used 'master', and git\-buildpackage still used 'master' as the branch
name. This is not ideal for Debian packaging, as using the same default
development branch names as upstream projects typically do may lead into
branch name conflicts.
.PP
The DEP\-14 (https://dep\-team.pages.debian.net/deps/dep14/, status:
candidate)  states:
.PP
  In Debian this means that uploads to unstable and experimental should be
  prepared either in the debian/latest branch or respectively in the
  debian/unstable and debian/experimental branches.
.PP
and:
.PP
  The helper tools that do create those repositories should use a command like
  git symbolic\-ref HEAD refs/heads/debian/latest to update HEAD to point to the
  desired branch.
.SH SYNOPSIS
\fBdep\-14\-convert\-git\-branch\-names\fP [\fI\,options\/\fP]
.IP
.TP 
Options:
.TP 
\fB\-\-packaging\-branch\fP <name>
Branch for main packaging (e.g. 'debian/latest')
.TP 
\fB\-\-debug\fP
Display debug information while running
.TP 
\fB\-h\fP, \fB\-\-help\fP
Display this help message
.TP 
\fB\-\-version\fP
Display version information
.SH "VOIR AUSSI"
DEP\-14: https://dep\-team.pages.debian.net/deps/dep14/
.SH TRADUCTION
Ce document est une traduction, maintenue à l'aide de l'outil
po4a <\fIhttps://po4a.org/\fR> par l'équipe de
traduction francophone du projet Debian.

Nicolas François, Guillaume Delacour, Cyril Brulebois, Thomas Huriaux
et David Prévot ont réalisé cette traduction.

L'équipe de traduction a fait le maximum pour réaliser une adaptation
française de qualité.
Veuillez signaler toute erreur de traduction en écrivant à
.nh
<\fIdebian\-l10n\-french@lists.debian.org\fR>
.hy
ou par un rapport de bogue sur le paquet devscripts.

La version anglaise la plus à jour de ce document est toujours consultable
en ajoutant l'option «\ \fB\-L\ C\fR\ » à la commande \fBman\fR.