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

cherry pick into remote / git-p4

From
TKThomas Kistler <tkistler@nvidia.com>
Date
Apr 8, 2010, 15:55 UTC
Message-ID
<B978892CA0FBD142827E74F92AC4BBD429B5EDD0BC@HQMAIL03.nvidia.com>
In-Reply-To
<1a6be5fa1003231111pc98bfbbg299ea0f95a7926a7@mail.gmail.com>
Before doing a lot of work I wanted to see whether someone has a simple solution to cherry pick a particular commit into a remote branch (and by that I mean the refs/remote branch in the local repository and not the remote repository).
Here is some more background. In our setup, we periodically bunch git changes up and submit them back to an external perforce repository (using a modified version of git-p4). When those changes come back into the git repository (using git-p4 sync) we see the combined changes rather than the individual ones, which can lead to rebase conflicts. So rather than importing the combined changes, we'd like to replay the individual changes from the master branch if present (we store the git commit ids as part of our perforce commit message so we know which ids to replay). But there doesn't seem to be an easy way to do that.
-Thomas 

----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------

Previous: Tor Arvid Lund
Message 7 of 7 in “git-p4 and git clone”
  1. Thomas KistlerMar 22, 2010
  2. Benjamin MeyerMar 23, 2010
  3. Thomas KistlerMar 23, 2010
  4. Tor Arvid LundMar 23, 2010
  5. Thomas KistlerMar 23, 2010
  6. Tor Arvid LundMar 23, 2010
  7. cherry pick into remote / git-p4Thomas Kistler, Apr 8, 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.