Re: How to fork a file (git cp ?)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 5, 2011, 18:50 UTC
- Message-ID
- <7vk4e56kxa.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <BANLkTimD7byL=rgy79BWFT3vqKpzv9aNOQ@mail.gmail.com>
Piotr Krukowiecki <piotr.krukowiecki@gmail.com> writes:
> Maybe Mikhail wanted to say that if there's a git-mv as a shortcut for > "cp old new ; rm old; add new" > then there should be a git-cp as a shortcut for > "cp old new; add new"
Copying and then futzing with a copy is a bad discipline to begin with. git already has a reputation of having too many commands. I am not thrilled about the idea of making things worse by adding an unnecessary command, and especially one that encourages a bad workflow.