PricingBlog

Lost Work & branches conflict

  • ariesgal_-1286456093157101638

    ariesgal_

    1 year ago

    I was in @NoCode ProCode 's office hours today and when I tried to publish my branch it failed. I see there is a conflict. If I hit reset, will it wipe out the branch? When I try to edit the branch it is blank even though the work shows in the side panel. How do I fix this? https://app.nordcraft.com/projects/peach_han_solo_delicious_cougar.

    TIA!
    1286456093593047080-Screenshot_2024-09-19_at_3.23.18_PM.png
    1286456094004346921-Screenshot_2024-09-19_at_3.26.07_PM.png
  • ariesgal_-1286670120101351484

    ariesgal_

    1 year ago

    Anyone care to comment? What do you do when your work disappears????? Or should I seek help elsewhere?????
  • jacobkofoed-1286671940077228185

    Jacob Kofoed

    1 year ago

    Hi @ branching is something that will definately improve. Right now your HomePage on your branch is so much in coflict with other changes made on a separate (now merged) branch, that toddle cannot automatically combine the two. You will have to pick which version to use. You could, as a temporary workaround, duplicate your HomePage to a HomePage2 and then reset HomePage to resolve the conflicts. Then afterwards you can manually combine the two, or simply copy everything over from HomePage2 to HomePage if you want to just use your newer version.

    When working as a team, you probably don't want to override other peoples' changes, but rather merge them together manually or rely on toddle, which can usually merge automatically.

    Let me know if you are still confused about this. I know the feedback is not great on these merge conflict pages, and it is something that will improve dramatically in the future. We have plans 👍
  • jacobkofoed-1286672559567540305

    Jacob Kofoed

    1 year ago

    Conflicts are super annoying in all programming languages, visual coding tools like toddle included, so the best is to avoid them entirely by splitting components into smaller decoupled pieces and otherwise avoid working on the same data across branches. I've also had to manually handle conflicts before 😢
  • ariesgal_-1286676506579308594

    ariesgal_

    1 year ago

    @Jacob Kofoed Thank you for responding. That worked! I really appreciate the help. The only caveat is that I a solo developer so there is no one I can override.

    On a side note, is it possible to transfer an app created on a free account to my appsumo account? If so, how would I do this?