git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* svn cp (local paths) equivalent
@ 2009-04-23  6:03 Lachlan Deck
  2009-04-23  6:09 ` Deskin Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Lachlan Deck @ 2009-04-23  6:03 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: svn cp (local paths) equivalent
  2009-04-23  6:03 svn cp (local paths) equivalent Lachlan Deck
@ 2009-04-23  6:09 ` Deskin Miller
  0 siblings, 0 replies; 2+ messages in thread
From: Deskin Miller @ 2009-04-23  6:09 UTC (permalink / raw)
  To: Lachlan Deck; +Cc: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-23  6:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23  6:03 svn cp (local paths) equivalent Lachlan Deck
2009-04-23  6:09 ` Deskin Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).