Skip to content

Need help for upgrading Wagtail 5.2.3 to 6.0 #11612

Closed Answered by gasman
arshyia3000 asked this question in Q&A
Discussion options

You must be logged in to vote

If you've got a my_branch feature branch that was built on top of stable/5.2.x, then yep, merging stable/6.0.x isn't going to work - ever since the original 5.2 release was made and work on 6.0 started, those branches have had completely distinct histories. Generally, I'd recommend using the main branch as the starting point for any feature development, as that will always be where new code lands first - meaning that you won't have to switch branches to stay up to date.

To fix your current setup, I'd suggest using git log to find the commit hashes corresponding to the work you did on my_branch (as opposed to the commits that you merged in from stable/5.2.x). Then start a new branch based on

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by arshyia3000
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants