Git workflow #3175
martinhoyer
started this conversation in
Polls
Git workflow
#3175
Replies: 2 comments 1 reply
-
I am leaning towards "Trunk-Based Development" because:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Trying in 1.36.1 (GitHub Flow with Release Branch)Description
DiagramgitGraph
commit id: "Release "
branch fedora
checkout fedora
commit id: "Release" tag: "1.1.0"
checkout main
commit
branch release-1.2.0
commit id: "Release 1.2.0"
checkout main
merge release-1.2.0 id: "Merge Release x.y.0 into main"
checkout fedora
merge main id: "Rebase fedora" tag: "1.2.0"
checkout main
commit
branch release-1.2.1
commit id: "Cherry-pick bugfixes"
checkout fedora
merge release-1.2.1 id: "Merge bugfix release into fedora" tag: "1.2.1"
checkout main
merge fedora id: "Merge to main"
(omitting feature branches for clarity) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Git workflow change to allow for easier micro/bugfix releases
Current Workflow
main
: feature branches being merged intofedora
: branch being used for releasesrelease
branch for sake of this discussionOptions
1. Git Flow
Description
main
branch for stable releasesdevelop
branch for ongoing developmentdevelop
develop
main
Pros
Cons
Diagram
2. Git Flow Simplified
Description
main
branch for stable releasesdevelop
branch for ongoing developmentdevelop
develop
when ready to releasemain
for urgent fixesPros
Cons
Diagram
3. GitHub Flow with Release Branches
Description
main
branch for stable codemain
main
for each releasemain
Pros
Cons
main
Diagram
4. GitHub Flow with Hotfixes
Description
main
branch for stable codemain
main
for urgent fixesmain
Pros
Cons
Diagram
5. Trunk-Based Development with Release Branches
Description
main
branch (trunk) for all developmentmain
for each releasemain
and cherry-picked to release branchesPros
Cons
main
stableDiagram
Comparison Table Ordered by Complexity
Proposal: GitHub Flow with Hotfixes
Comparison: GitHub Flow with Release Branches vs GitHub Flow with Hotfixes
Key Differences:
Release Management:
Bugfix Process:
Long-term Support:
Deployment:
Actions required to transition got GitHub flow with Hotfixes
fedora
branchmain
for tagsDiscussion points
Release branches vs Hotfixes
Would the extra complexity of having release branches be worth for example having the ability to do LTS releases if it'll ever come up?
Any other relevant features, foreseeable requirements, that would make GH Flow with Release branches or Git Flow Simplified a better option?
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions