GithubHelp home page GithubHelp logo

Comments (12)

djowel avatar djowel commented on July 19, 2024

master and develop are synced now.

from fusion.

Kojoley avatar Kojoley commented on July 19, 2024

GitHub still shows
image

Differences:
develop...master
master...develop

from fusion.

djowel avatar djowel commented on July 19, 2024

Just to be sure I'm not messing up something:
#259

from fusion.

Kojoley avatar Kojoley commented on July 19, 2024

I think you need to merge master to develop, then merge develop to master, and then you will be able to fast-merge master to develop, after which branches will be equal.

from fusion.

djowel avatar djowel commented on July 19, 2024

Alright, let me do this again. Pardon my confusion!

from fusion.

djowel avatar djowel commented on July 19, 2024

Here was the issue after pushing (with fast-merging master to develop):

~/dev/boost/libs/fusion> git push --porcelain --progress --recurse-submodules=check origin refs/heads/develop:refs/heads/develop
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: error: GH006: Protected branch update failed for refs/heads/develop.        
remote: error: This branch must not contain merge commits.        
To github.com:boostorg/fusion.git
! refs/heads/develop:refs/heads/develop [remote rejected] (protected branch hook declined)
failed to push some refs to 'github.com:boostorg/fusion.git'
Done
'develop' rejected (non-fast-forward)

I temporarily disabled GitHub's "Require linear history" rule on protected branches (develop)
(Prevent merge commits from being pushed to matching branches.)

It's now in sync. Next time, I'll enforce always merging PRs to develop to avoid this mess. Some PRs were merged to master.

Please check the state if I messed up anything.

from fusion.

denzor200 avatar denzor200 commented on July 19, 2024

Please, dont forget about this: #246.
I seen that these troubles fixed here a884709, but it's not enough

from fusion.

djowel avatar djowel commented on July 19, 2024

Please, dont forget about this: #246. I seen that these troubles fixed here a884709, but it's not enough

Merged.

from fusion.

Kojoley avatar Kojoley commented on July 19, 2024

It's now in sync. Next time, I'll enforce always merging PRs to develop to avoid this mess. Some PRs were merged to master.

Please check the state if I messed up anything.

The history looks quite sad with duplicated commits, but it works. Now develop is superset of master branch.

It is indeed much less gymnastics and pain when you don't create commits in master which have not land in develop, I also learned that the hard way. It is also sad that GitHub UI buttons don't give you a choice to create a fast-forward merge when you want to sync master with develop, though generally it is a good idea to always use git pull/merge with --ff-only flag unless you really mean to create a merge commit. Btw, one haven't messed up until they push local changes to the repository server.

from fusion.

denzor200 avatar denzor200 commented on July 19, 2024

#246 still wasn't merged to master.

from fusion.

djowel avatar djowel commented on July 19, 2024

#246 still wasn't merged to master.

Is it a priority? Normally we let code sit on develop for a while to minimize disruptions on master.

from fusion.

denzor200 avatar denzor200 commented on July 19, 2024

Is it a priority? Normally we let code sit on develop for a while to minimize disruptions on master.

It's just a small fix for possible compile-time error.

from fusion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.