git cp command?
- From
- Jeffrey Walton <noloader@gmail.com>
- Date
- Apr 7, 2020, 06:02 UTC
- Message-ID
- <CAH8yC8nzc6My_DyTJ1vyZ4zvsOiSegM01p1xsS_bABc70=SPCg@mail.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.