git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Branching workflow

From
Javier Domingo <javierdo1@gmail.com>
Date
Dec 3, 2013, 18:06 UTC
Message-ID
<CALZVapnjN_69y0+PLFA2t8b72WDK+D4BhjDRnRPxU_9iX+_NuA@mail.gmail.com>
Hi,

I have been using a very basic workflow for branching, features each in a branch.

My branches would be:
- develop <= Main upstream branch
- feature/* fix/*  <= Feature and fix branches
- master <= Integration of the whole feature and fix branches

So I have now came up with a very difficult task. I just discovered that one of those branches, lest call it feature/bad, is evil and is making the integration branch (master) fail horribly.

In my workflow, I tend to merge develop (official updates) into my feature branches, and them into master.

So now I have the big problem on how to undo all changes from feature/fix. I have been told that one alternative workflow would be to revert the last merge and remerge it into master, so that I have always just one commit to revert if necessary (instead of the monstrous quantity I have now to).

The workflow proposal should be in order of importance:
- Let me stay up-to-date with develop branch
- Easy to revert in master
- Have a clean history
- Easy to follow

I think I should be capable of doing some sort of merge/rebase branching workflow to avoid having to do that. I have thought about rebasing always the feature branches, and rebasing master into all of them, but it seems pretty strange to me.

If anyone can give any advice, I would fully appreciate!
Javier Domingo Cansino
Next: John Keeping
Message 1 of 7 in “Branching workflow”
  1. Javier DomingoDec 3, 2013
  2. John KeepingDec 3, 2013
  3. Javier DomingoDec 3, 2013
  4. Junio C HamanoDec 3, 2013
  5. Javier DomingoDec 3, 2013
  6. Javier Domingo CansinoSep 22, 2014
  7. Junio C HamanoSep 25, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.