# git cp command?

1 messages from 2020-04-07 to 2020-04-07. Participants: Jeffrey Walton.
Thread: https://gitlist.dev/t/53175

## Jeffrey Walton, 2020-04-07 06:02

Subject: git cp command?
Message-ID: <CAH8yC8nzc6My_DyTJ1vyZ4zvsOiSegM01p1xsS_bABc70=SPCg@mail.gmail.com>
URL: https://gitlist.dev/e/CAH8yC8nzc6My_DyTJ1vyZ4zvsOiSegM01p1xsS_bABc70%3DSPCg%40mail.gmail.com

```
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.

```
