git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git cp command?
@ 2020-04-07  6:02 Jeffrey Walton
  0 siblings, 0 replies; only message in thread
From: Jeffrey Walton @ 2020-04-07  6:02 UTC (permalink / raw)
  To: Git List

I have a large source file and I want to split it into two pieces. I
want to preserve the history so someone can start at either of the
copies and work back to the original file.

I see folks talking about a "git copy" at
https://stackoverflow.com/a/44036771, but I am not really following
what is happening with moves and merges and the other extra commands.

Can someone please provide the commands to copy the file using Git.

Thanks in advance.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-07  6:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07  6:02 git cp command? Jeffrey Walton

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 NNTP newsgroup(s).