git-cp - Copy a file keeping its history
Contents
Description
Copy a file keeping its git history. This allows merge conflict handling.
Examples
Copy README into README.txt
$ git cp README README.txt
Name
git-cp - Copy a file keeping its history
Reporting Bugs
<https://github.com/tj/git-extras/issues>
See Also
<https://github.com/tj/git-extras>
<https://stackoverflow.com/questions/16937359/git-copy-file-preserving-history/44036771#44036771>
October 2024 GIT-CP(1)
Synopsis
git-cp <current_filename> <destination_filename>
