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