Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
GIT-CP(1)			   Git Extras			       GIT-CP(1)

NAME
     git-cp - 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 RA(C)my Hubscher <mailto:hubscher.remy@gmail.com>

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-his-
     tory/44036771#44036771>

				   March 2020			       GIT-CP(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=git-cp&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help