threads / discuss / 19016

svn cp (local paths) equivalent

Subject: svn cp (local paths) equivalent

## tl;dr

2 messages between Apr 23, 2009 and Apr 23, 2009.

replies: 1people: 2as markdown or json

Lachlan Deck· Apr 23, 2009, 06:03 UTC · lore
Hi there,

just a quick question: in svn you can cp a file or dir within your checkout. Is there an equivalent in git? Thanks.

with regards, --

Lachlan Deck
Deskin Miller· Apr 23, 2009, 06:09 UTC · re: Lachlan Deck · lore

Re: svn cp (local paths) equivalent

On Wed, Apr 22, 2009 at 23:03, Lachlan Deck <lachlan.deck@gmail.com> wrote:
> Hi there,
>
> just a quick question: in svn you can cp a file or dir within your checkout.
> Is there an equivalent in git?

$ cp file file-copy $ git add file-copy

It works with directories too.
Deskin Miller

← back to recent threads