Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

git-cp - Copy a file keeping its history

Author

       Written by Rémy Hubscher <hubscher.remy@gmail.com>

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>

See Also