diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2014-10-08 22:42:50 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2014-10-08 22:53:40 +0200 |
commit | 25102aa5c0714be315c12fe9506e9364736f4969 (patch) | |
tree | e93f843cc5743ef8f4da2fa8519c3f6c4dc80b68 | |
parent | e0ddc63300b23f70d0dd0cf936b35a555e410af6 (diff) | |
download | zsh-25102aa5c0714be315c12fe9506e9364736f4969.tar.gz zsh-25102aa5c0714be315c12fe9506e9364736f4969.zip |
Workflow: More reformatting
Git-Dch: Ignore
-rw-r--r-- | debian/pkg-zsh-workflow.md | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/debian/pkg-zsh-workflow.md b/debian/pkg-zsh-workflow.md index 253ea4251..32750beaf 100644 --- a/debian/pkg-zsh-workflow.md +++ b/debian/pkg-zsh-workflow.md @@ -1,22 +1,23 @@ Branches ======== -* **upstream**: The upstream sources from git://zsh.git.sf.net/gitroot/zsh/zsh. -* **debian**: The debian changes for the debian 'zsh' package. Only +* **upstream**: The upstream sources from `git://zsh.git.sf.net/gitroot/zsh/zsh`. +* **debian**: The debian changes for the debian `zsh` package. Only difference to the upstream branch is the `debian` directory. -* master: This is the old repository's main branch. Only kept for - historical reasons. +* master: This is the _old_ repository's main branch. Only kept for + _historical_ reasons. * Other branches: These branches are rather optional and not required - for basic maintenance for of the 'zsh' package. Most likely feature branches. + for basic maintenance for of the `zsh` package. Most likely feature + branches. Workflow ======== This is a diagram, that outlines the proposed workflow. Basically, the -'debian' branch walks alongside the 'upstream' branch and upstream -changes get merged into 'debian' at defined points (for the non-beta -zsh package, that should be upstream commit tags). +`debian` branch walks alongside the `upstream` branch and upstream +changes get merged into `debian` at defined points (for the zsh +package, that should be upstream commit tags). * debian/4.3.11-4 | @@ -444,15 +445,24 @@ your pkg-zsh repository, do this: To get updates back into origin/upstream, do this: - ## Get the latest updates. +Get the latest updates. + % git fetch zsh.git - ## Switch to the local 'upstream' branch for integration. + +Switch to the local 'upstream' branch for integration. + % git checkout upstream - ## Merge upstream's changes (*). + +Merge upstream's changes (*). + % git merge zsh.git/master - ## Push the code into pkg-zsh's central repository. + +Push the code into pkg-zsh's central repository. + % git push origin - ## Make sure the central repository also has all tags. + +Make sure the central repository also has all tags. + % git push --tags origin (*) This step should *always* result in a fast-forward merge. If it |