From 6af23c2bb403323fef33e830770c832616a7911b Mon Sep 17 00:00:00 2001
From: Michael Prokop NOTE: The most recent version of this document is available at
+docs/maintainer-notes.html in the the git repository
+or online at git.debian.org.
- Note: This cheatpage assumes that you are using git-core 1.5.6 or newer.
- NOTE: Use 'Closes: #BUGID' for closing a bugreport, 'Thanks: Name
-<
-1. Definitions
+
+
+1. Definitions
-
@@ -79,13 +82,16 @@ gray { color: gray; }
- version string
- name of the alioth account
+ mailaddress of the user
+ $mailaddress:
mailaddress of the user
+ $username:
name of the alioth account
+ $version:
version string $yourname:
your fullname
-% export GIT_AUTHOR_EMAIL=<
% git clone git://git.debian.org/git/kernel/initramfs-tools.git
% cd initramfs-tools
@@ -94,7 +100,7 @@ gray { color: gray; }
-% git clone ssh://
$username
@git.debian.org/git/kernel/initramfs-tools.git
% cd initramfs-tools
-% git checkout -b
$username
/short-descr-of-new-feature
mailaddress
>' for giving credits in your commit message. git-dch will use
this information for generating the changelog using the --meta option later
-on.
-% git push origin
$username
/short-descr-of-new-feature
-% git checkoutusername /new-feature +% git checkout$username
/new-feature
% git checkout master -% git mergeusername /new-feature +% git merge$username
/new-feature
-% git push origin :username /short-descr-of-new-feature -% git branch -dusername /short-descr-of-new-feature +% git push origin :$username
/short-descr-of-new-feature +% git branch -d$username
/short-descr-of-new-feature
% git-buildpackage --git-debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" -tc+ + + + + +
+% git-dch --debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" \ + --since="$(dpkg-parsechangelog | awk '/^Version:/ {print $2}')" -S --id-length=7 --meta ++
+% git-buildpackage --git-debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" -tc [-us -uc] ++
% git format-patch -s -p origin/master+
% git send-email --to=initramfs-tools@packages.qa.debian.org $PATCHFILE[S]+
-% git-dch --debian-branch debian --release --sinceor more dynamically: @@ -238,17 +274,21 @@ or more dynamically: % git-dch --meta --release --since v$(dpkg-parsechangelog | awk '/^Version:/ {print $2}') --debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" [--id-length=7] [--full] +NOTE: we do not use history based sorting for the changelog entries but +sort them by author (doing that manually when reviewing the changelog, see #586165). +HASH +% git-dch --debian-branch debian --release --sinceHASH
-% git commit -a -s -m "Releasing debian versionversion ." +% git commit -a -s -m "Releasing version$version
."
-% git tag -s v"version " -m "releaseversion" +% git tag -s v"$version
" -m "release$version
"
--- Michael Prokop <mika@debian.org> +-- Michael Prokop <mika@debian.org>