Note: This cheatpage assumes that you are using git-core 1.5.6 or newer.
| version string | |
| name of the alioth account | |
| mailaddress of the user |
# apt-get install git git-buildpackage dpkg-dev
% export GIT_AUTHOR_EMAIL=<mailaddress > % export DEBEMAIL=<mailaddress > % export GIT_COMMITTER_EMAIL=<mailaddress >
% git clone git://git.debian.org/git/kernel/initramfs-tools.git % cd initramfs-tools
% git clone ssh://username @git.debian.org/git/kernel/initramfs-tools.git % cd initramfs-tools
% git checkout -busername /short-descr-of-new-feature
% $EDITOR $somefile % git add $somefile % git commit -s
NOTE: Use 'Closes: #BUGID' for closing a bugreport, 'Thanks: Name
<
% git push originusername /short-descr-of-new-feature
% git checkoutusername /new-feature
% git rebase master
% git checkout master % git mergeusername /new-feature
% git push
% git push origin :username /short-descr-of-new-feature % git branch -dusername /short-descr-of-new-feature
% git checkout -b somename/short-descr-of-new-feature origin/somename/short-descr-of-new-feature
% git checkout -b somename/short-descr-of-new-feature
% 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
% 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:HASH
% git-dch --meta --release --since v$(dpkg-parsechangelog | awk '/^Version:/ {print $2}') --debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" [--id-length=7] [--full]
% git commit -a -s -m "Releasing debian versionversion ."
% git tag -s v"version " -m "releaseversion"
% git push % git push --tags
-- Michael Prokop <mika@debian.org>