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

Is there a way to have local changes in a branch 'bake' while working in different branches?

From
LMLarry Minton <larry.minton@autodesk.com>
Date
Dec 15, 2016, 20:14 UTC
Message-ID
<14b481f95c5043aca6cdfddfe4728fa9@BLUPR79MB001.MGDADSK.autodesk.com>
Lars Schneider recommended I ask you this question.
My question:

Let's say I have a code change that I want to 'bake' for a while locally, just to make sure some edge case doesn't pop up while I am working on other things.  Is there any practical way of doing that? I could constantly merge that 'bake me' branch into other branches as I work on them and then remove those changes from the branches before sending them out for code review, but sooner or later pretty much guaranteed to screw that up....

His response:
Good question. Your merging idea would work but I agree it might be cumbersome. In this situation I keep modified files in my tree. That would work for you too, but this would be inconvenient if you have many changed files. I wonder how the Git core guys manage this kind of situation.
Thanks,

Larry Minton 3ds Max Core team LiveDesign Group Media & Entertainment, Education Experiences, Impact (MEI)

Next: Aaron Schrab
Message 1 of 4 in “Is there a way to have local changes in a branch 'bake' while working in different branches?”
  1. Larry MintonDec 15, 2016
  2. Aaron SchrabDec 15, 2016
  3. Junio C HamanoDec 16, 2016
  4. John KeepingDec 16, 2016

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.