1GIT-CP(1) Git Extras GIT-CP(1)
2
3
4
6 git-cp - Copy a file keeping its history
7
9 git-cp <current_filename> <destination_filename>
10
12 Copy a file keeping its git history. This allows merge conflict han‐
13 dling.
14
16 Copy README into README.txt
17
18
19 $ git cp README README.txt
20
21
22
24 Written by Rémy Hubscher <mailto:hubscher.remy@gmail.com>
25
27 <https://github.com/tj/git-extras/issues>
28
30 <https://github.com/tj/git-extras>
31
32 <‐
33 https://stackoverflow.com/questions/16937359/git-copy-file-preserv‐
34 ing-history/44036771#44036771>
35
36
37
38 March 2020 GIT-CP(1)