Closed dhimmel closed 7 years ago
@dhimmel is there a way to make develop
branch the default branch for the repo. ? I would prefer to keep all work in the develop
branch as to follow the gitlfow methodology. This will allows us to hook in deployment automations in the future and make for cleaner version and release control over the life of the project.
I should however merge the develop
README.md to the master
and the wiki so that when you first visit the project the structure will be presented more clearly without having to dig around branches and figure it out.
@awm33 thought?
@bdolly @dhimmel At that point, isn't master
production? I've never used gitflow. I've always had master
be the bleeding edge aside from task specific development branches. Sometimes I've used a production
branch to automate deployment.
You can change the default branch in the repo settings.
@bdolly you can change the branch settings at https://github.com/cognoma/frontend/settings/branches.
I don't have a strong opinion on whether the "bleeding edge" branch should be master
or something else, but I do think the "bleeding edge" branch should be the default. @bdolly would it interfere with gitflow to make develop
the default branch on GitHub? What do you think is best?
@dhimmel @awm33 Come to think of it we did create a production
branch for auto deployments, so it's cool to make develop
the default for the repo. I think in the start we decided to leave master
as a sandbox branch for new comers and move auto deployments to production
@bdolly cool, I'll let you make the switch. Just gave you admin so you shouldn't run into any problems. Will let you decide what to do with master
. It may not even be a bad idea to delete it completely if it's going to cause more confusion than its worth.
Changed the default branch for frontend
and uiux
to develop
from master
. FYI, this is how the GitHub settings described the default branch:
The default branch is considered the “base” branch in your repository, against which all pull requests and code commits are automatically made, unless you specify a different branch.
@bdolly what do you think of switching the default branch on GitHub from
develop
tomaster
? I'd like to address two things:cognoma/frontend
contributions getting counted in our contribution analysis, which only looks at default branches of repos.Another solution would be syncing
master
withdevelop
more often. @bdolly and @awm33 what do you think is best?cognoma/core-service
also has similar issues.