-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to release directly from develop #133
Comments
You may use HotFixes to release directly to master |
Maybe I wasn't clear in my request. However, I made some experiments, here is a small demo with a fake project https://github.com/fabn/fake-project/network. I was wrong about a point, if I execute these commands on a project
they don't introduce useless commits, only some noise given by the fact that a commit named "merge branch 'release/xxx' exists in the repository. My point was that in some (simple) projects there is no work to be made in the release branch, so imho it would be nice to have an option (or a release subcommand) which avoid to type two commands when unnecessary. So instead of the two commands above making a release from the current develop branch we have to type something like
|
Why not just |
Yes, it would be an option to do that. But also the other gitflow features could be implemented with vanilla git commands, so my request is just for having a shortcut to do that. |
+1 My project never has a QA since it's a library. If it passes all tests, we release. |
I find myself wanting to do this from time to time. How about something like an |
+1 Yes, I would also like to go directly from develop branch to the production one without the release branch |
Hello, +1 I use my branches like the following
I make tags named When a new feature is ready, I rebased it on latest master to avoid fixing conflict "on master", then merge it to master. To prepare a new release, if required, I create an When a new release is ready, I just tag a commit on master, If I have an |
In some personal projects (with no version file, or any other artifact to be generated) it could be useful to make a release directly from develop. For instance a git managed website doesn't need anything to be done into the release branch, so it could be useful release a new version without starting a release branch first. This would avoid useless empty merge commit into the repository history.
What do you think?
The text was updated successfully, but these errors were encountered: