Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: What about git cp ?

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:44:09

Possibly related (same subject, not in this thread)

"Francis Moreau" [off-list ref] writes:
Hello,

I'm looking for a something which could be done by a git-cp command.

I'd like to copy a file with its history to a new  file but want to keep the old
one,
Git doesn't _record_ copies and renames, but detects them
after-the-fact (either by default, or explicitly like "git blame -C"
or so).

So, just "cp + git add" and you're done. That's what a "git cp"
command would do if it existed.

-- 
Matthieu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help