1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
git-notifier packaging notes
============================
The 'master' branch is used to track upstream's master.
The 'debian' branch is used to track the Debian packaging.
Tracking upstream
-----------------
1. Pull changes from upstream onto the 'master' branch.
$ git pull --ff-only upstream master
2. Merge upstream changes onto the 'debian' branch.
$ git checkout debian
$ git merge --no-ff master
Initialization
--------------
1. A git repository was created on collab-maint.
edmonds@chase{0}:~$ ssh git.debian.org
edmonds@vasks:~$ umask 002
edmonds@vasks:~$ cd /git/collab-maint/
edmonds@vasks:/git/collab-maint$ ./setup-repository git-notifier 'Packaging for git-notifier'
Initialized empty shared Git repository in /srv/git.debian.org/git/collab-maint/git-notifier.git/
edmonds@vasks:/git/collab-maint$
2. The upstream git-notifier source was initially obtained via git from
<git://git.icir.org/git-notifier>.
$ git clone git://git.icir.org/git-notifier
3. The 'origin' remote was renamed to 'upstream'.
$ git remote rename origin upstream
4. The 'debian' remote was added.
$ git remote add debian ssh://git.debian.org/git/collab-maint/git-notifier.git
5. The 'debian' branch was created.
$ git checkout -b debian
6. Repository content initially pushed to collab-maint.
$ git push --all -u debian
7. The Debian packaging was created in the debian/ directory and commited on
the 'debian' branch.
8. Debian changes pushed to collab-maint.
$ git push --tags
|