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

Re: Merging (only) subdirectories

From
Howard Miller <howard@e-learndesign.co.uk>
Date
Dec 1, 2010, 11:56 UTC
Message-ID
<AANLkTiki=BAZJ+xhDZaaOkfejJdvj4zeLRpyHbJ-cu8b@mail.gmail.com>
In-Reply-To
<20101201114759.136280@gmx.net>
2010/12/1 "Martin Krüger" <martin.krueger@gmx.com>:
Show 14 quoted lines
>>
> I would say you are not working best practice with git. The idea of commit is a atomic  change of the whole project.  It seems like you mixed completely unrelated changes in a commit.
>
> You can try as a resolution:
> git rebase master  (on a temporary-branch)
> git format-patch master
>
> Strip the patches with filterdiff
>
> Apply the stripped patches to another temporary-brach.
> Merge to the target-Branch.
>
> Best regards
>     martin
thanks Martin,

There's a whole bunch of stuff there that I am not familiar with so I need to do some reading! When you say we are not using best practices can you elaborate? I am very open to improving the way we do things.

Howard
Previous: Martin KrügerNext: Howard Miller
Message 3 of 9 in “Merging (only) subdirectories”
  1. Howard MillerDec 1, 2010
  2. Martin KrügerDec 1, 2010
  3. Howard MillerDec 1, 2010
  4. Howard MillerDec 1, 2010
  5. Nguyen Thai Ngoc DuyDec 1, 2010
  6. Howard MillerDec 1, 2010
  7. Enrico WeigeltDec 3, 2010
  8. Howard MillerDec 3, 2010
  9. Enrico WeigeltDec 3, 2010

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.