tj.git-extras/man/git-cp.md
2020-03-20 09:37:43 +01:00

31 lines
640 B
Markdown

git-cp(1) -- Copy a file keeping its history
============================================
## SYNOPSIS
`git-cp` <current_filename> <destination_filename>
## DESCRIPTION
Copy a file keeping its git history. This allows merge conflict handling.
## EXAMPLES
Copy README into README.txt
$ git cp README README.txt
## AUTHOR
Written by Rémy Hubscher &lt;<hubscher.remy@gmail.com>&gt;
## REPORTING BUGS
&lt;<https://github.com/tj/git-extras/issues>&gt;
## SEE ALSO
&lt;<https://github.com/tj/git-extras>&gt;
&lt;<https://stackoverflow.com/questions/16937359/git-copy-file-preserving-history/44036771#44036771>&gt;