GithubHelp home page GithubHelp logo

Comments (8)

maffoo avatar maffoo commented on July 20, 2024

+1 for master-based workflow. @babbush you can just force-push the current develop branch to master; that would erase any history on the current master branch and just replace it with the develop branch. Since @Strilanc is out at the moment, I'd be happy to help with this.

from openfermion.

babbush avatar babbush commented on July 20, 2024

@maffoo that would be great! Thank you! If it is not too much trouble, can you do this for the other repos as well? You can ignore the pull request to master on OpenFermion-ProjectQ since I was just pulling develop to master anyways. I assume this won't hurt my pull request that is open on OpenFermion?

from openfermion.

maffoo avatar maffoo commented on July 20, 2024

@babbush, I'll force-push the develop branch to master and then see if we can update your PR to merge into master instead. If it can't be updated in-place we might have to open a new PR.

from openfermion.

babbush avatar babbush commented on July 20, 2024

👍

from openfermion.

maffoo avatar maffoo commented on July 20, 2024

Ok, I force-pushed master and changed the PR base on #5 to point to master so should be good. I also re-enabled branch protection on master and changed the repository default branch to master. Changing the default branch caused github to pop up a warning dialog about possible strangeness for forked repos and clones. If people run into any issues please comment on this issue and we'll figure it out.

from openfermion.

maffoo avatar maffoo commented on July 20, 2024

Looks like if you have cloned the repo locally you will want to change the file .git/HEAD to point to the correct branch. This file probably looks like

ref: refs/head/develop

and should be changed to

ref: refs/head/master

Alternatively, you can just delete your local checkout and clone again from github (make sure to push any in-progress work on other branches to github so you don't lose it).

If you have a fork of the repo, you have two options:

  1. Make the same changes in your fork as we've done here, e.g. force-push the develop branch to master, make master the default branch, and change .git/HEAD on any local checkouts.
  2. Delete your fork and create a new fork, so the fork will be set up to match the new default branch structure. As above, you'll need to take care to save any in-progress work before doing this.

from openfermion.

maffoo avatar maffoo commented on July 20, 2024

Pushed master and updated the default branch on the other repos.

from openfermion.

babbush avatar babbush commented on July 20, 2024

Thanks Matthew!!

from openfermion.

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.