Re: possible 'git cp'/how does git detect copies | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Fri, Jun 27, 2008 at 03:00:06PM +0200, Pierre Habouzit <madcoder@xxxxxxxxxx> wrote: > If you really need it, you can and an alias alias.cp=!cp and be done > with it ;P Actually that's not that easy. git-mv moves untracked files and adds tracked files to the index as well. So such a git-cp would have to copy tracked and untracked files, and add tracked files to the index. I did it in the past: http://thread.gmane.org/gmane.comp.version-control.git/72388/focus=73347 but then we agreed about it's better not encouraging copy-and-paste.
Attachment:
pgpYiXj8eueYD.pgp
Description: PGP signature
[Newbies FAQ] [Kernel List] [Site Home] [Free Online Dating] [Gcc Help] [IETF Annouce] [DCCP] [Netdev] [Networking] [Security] [V4L] [Bugtraq] [Free Online Dating] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux SCSI] [DDR & Rambus] [Linux Resources]