Remove the "dev" branch and keep "main" as the development branch
See original GitHub issueThe dev branch seems redundant. The only apparent benefit it has is that people can get the stable release via
git clone https://github.com/PMEAL/OpenPNM
We could keep “master” the development branch, and those who are interested in cloning the stable release via git can do
git clone --branch <stable_release_tag_name> https://github.com/PMEAL/OpenPNM
Not to mention that people mostly download OpenPNM via PyPI and more recently conda, which always have the stable release.
An minor benefit of working with master as the development branch is that mentioning issues in pull requests using the following keywords:
- close
- closes
- closed
- fix
- fixes
- fixed
- resolve
- resolves
- resolved
automatically closes the corresponding issue, which is certainly convenient.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
git delete a file for a dev branch and keep it into the master ...
You can delete files from your dev branch without affecting your master branch. First switch to your dev branch: git checkout dev.
Read more >Git Delete Branch – How to Remove a Local or Remote ...
The command for deleting a local branch that we just used doesn't work in all cases. If the branch contains unmerged changes and...
Read more >How to delete all Git branches except master or main ...
Here is a quick Git command to delete all branches except master or main from your local repository. It's a nice way to...
Read more >Git Delete Branch How-To, for Both Local and Remote
You'll learn how to delete branches, both locally and in your remote repositories, and whether it's possible to recover a deleted branch. Most ......
Read more >How to delete the master branch - Kathrin Holzmann - Medium
Choose main branch as protected and set rules for allowance of merging, pushing and owner approval and save your changes. Press the Unprotect ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That’s perfect. We should update the VERSIONING.md document though. We were required to have this document by canarie. I’ll change this on the new examples_galore branch.
We finally agreed to the following changes:
devbranch as usualmastertodev, which makes our GitHub landing page always up-to-daterelease(optionally deletemasteraltogether to avoid confusion)devontoreleasewhenever we want to publish a minor/major/patch versiondev, directly merge the hotfix PR ontorelease, and cherry pick (or merge back) the hotfix commit and merge back ontodev.devif a feature is not fully ready and therefore, the above case should ideally be an exception rather than a rule.releasebranch altogether.@jgostick Does that sum it up?