git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Cherry pick a commit but with files in another location
@ 2020-04-11 11:21 Ani Sinha
  2020-04-11 12:21 ` Martin Ågren
  0 siblings, 1 reply; 5+ messages in thread
From: Ani Sinha @ 2020-04-11 11:21 UTC (permalink / raw)
  To: git

Hi,

I have an use case where I need to cherry pick a change from one branch to another. The change will apply cleanly but the files in the branch  where I want to cherry pick the co mit to have been moved under a different directory. So simple cherry pick will result in conflicts. Is there a clean way to cherry pick in this case? Is there an option to provide -p0, -p1 etc to the patch?

Thanks
Ani 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-13  5:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 11:21 Cherry pick a commit but with files in another location Ani Sinha
2020-04-11 12:21 ` Martin Ågren
     [not found]   ` <b26f041f-82d5-450f-998d-5a5c557a7994@Spark>
2020-04-11 12:42     ` Martin Ågren
2020-04-11 13:25       ` Ani Sinha
2020-04-13  5:43         ` Martin Ågren

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).