git cascade and git forward-merge
github.com
github.com
Cascade, on the other hand, sounds way too risky for me to want to use. The few seconds of time you're saving are an investment into not fucking up something huge.
In general, I'm not a fan of anything that's designed specifically to make it easier for you to skirt a version control/deployment workflow you've established. That just puts unnecessary effort into treating the symptoms of a bad workflow (or an unrealistic stakeholder) when you should be working to address the root cause instead.
One project i work on has two branches, master and release. We develop on master, then branch release from master when we want to make a release. If we find bugs during pre-release testing, we fix them on release, then immediately merge release back on to master. Note that this ensures that master is always a descendent of release, which means it's always safe to re-branch release. We don't use named feature branches; we make commits straight to release (and master). Could we use git-cascade to automate the immediate merge from release back to master?
As a self diagnosed Aspie, I can't tell if this article or your comment are April 1st jokes. Which I guess is kind of the point of April 1st jokes.
I've never thought there was such a thing as safe fix ever since...
My IDE usually does that for me, so never really considered it an issue to change branch with an unclean tree.
git fetch origin master:masterAlternatively if the merge is a simple fast-forward you can just do `git push . source:destination`, which is what `git forward-merge` does in that case too.
This gives me the idea of implementing wildcards in the cascade order, so feature branches will automatically be in the cascade order. Pull requests welcome.