mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-24 18:09:26 -05:00
docs: developer: workflow: preserving stable branch tags (simplification)
This commit is contained in:
parent
0589ab311b
commit
f29939c244
1 changed files with 11 additions and 4 deletions
|
@ -48,12 +48,19 @@ and it is force pushed.
|
||||||
|
|
||||||
### Stable branches
|
### Stable branches
|
||||||
|
|
||||||
The stable branches cannot be force pushed because they would no
|
The stable branches are not force pushed because they would no
|
||||||
longer contain the tags from which releases were made. Instead, the following is done:
|
longer contain the tags from which releases were made. Instead, the following is done:
|
||||||
|
|
||||||
- All _Forgejo_ commits are reverted
|
- The _Gitea_ commits are cherry-picked
|
||||||
- The Gitea branch is merged
|
- If there is a conflict
|
||||||
- All _Feature branches_ are merged
|
- revert the _Forgejo_ commit that caused the conflict
|
||||||
|
- cherry-pick the _Gitea_ commit
|
||||||
|
- cherry-pick the _Forgejo_ commit back and resolve the conflict
|
||||||
|
|
||||||
|
This ensures the conflict resolution is documented in the relevant
|
||||||
|
_Forgejo_ commit. The conflict must not be resolved in the _Gitea_
|
||||||
|
commit because there would be no convenient way to know why and how it
|
||||||
|
happened when browing the commit history.
|
||||||
|
|
||||||
## Feature branches
|
## Feature branches
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue