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

Re: how to apply patch?

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Feb 7, 2010, 04:40 UTC
Message-ID
<be6fef0d1002062040x6556b73fvb2a62a85fe21ec9e@mail.gmail.com>
In-Reply-To
<13f0168a1002061805o5d64c05cy9d8f0190a8f37feb@mail.gmail.com>
Hi,

On Sun, Feb 7, 2010 at 10:05 AM, Matt Di Pasquale <liveloveprosper@gmail.com> wrote:

Show 5 quoted lines
> [snip]
> Then, copy dev to pro, then reapply/rebase the essential
> differences to pro that got wiped out. if i rebase though, i want to
> be able to rebase again on the next edit.
> what's a good way to do this?
you could put this in your config:
  [remote local]
    url = .
    fetch = dev
  [branch "pro"]
    remote = local
    rebase = true

When you're wish to incorporate your latest changes in "dev" into "pro(duction)",

  $ git checkout pro #assuming you're not already on "pro"
  $ git pull
Repeat ad nauseum.
-- 
Cheers,
Ray Chuan
Previous: Matt Di PasqualeNext: Matt Di Pasquale
Message 2 of 4 in “Fwd: how to apply patch?”
  1. Matt Di PasqualeFeb 7, 2010
  2. Tay Ray ChuanFeb 7, 2010
  3. Matt Di PasqualeFeb 7, 2010
  4. Tay Ray ChuanFeb 7, 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.