git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Newbie question

From
Andrew Keller <andrew@kellerfarm.com>
Date
Sep 19, 2010, 23:59 UTC
Message-ID
<04E0C626-C16F-43A9-9AB7-41760B682F13@kellerfarm.com>
In-Reply-To
<1284940287810-5548737.post@n2.nabble.com>
On Sep 19, 2010, at 7:51 PM, kinley wrote:
Show 13 quoted lines
> Hi,
> I am new to question. Please help me with this.
> I copied an already existing project from a remote server using scp to my
> local directory.
> The contents of this directory are
>   branches
>   config
>   description
>   HEAD
>   hooks
>   info
>   objects
>   ref
This directory listing is what you would expect if you were looking at the repository itself.  To access your files in the repository, you want to create a non-bare (normal) clone.
git clone path-to-git-repo
On a side note, git can clone over ssh, so you don't need to use scp to copy a project over the network.  If your intent is to create a clone of a remote project on your computer, then cloning over ssh generally takes fewer commands than doing the copy manually first.
~ Andrew Keller
Previous: kinleyNext: kinley
Message 2 of 8 in “Newbie question”
  1. kinleySep 19, 2010
  2. Andrew KellerSep 19, 2010
  3. kinleySep 20, 2010
  4. Imran M YousufSep 20, 2010
  5. Kevin BallardSep 20, 2010
  6. kinleySep 20, 2010
  7. Jakub NarebskiSep 20, 2010
  8. Alex RiesenSep 20, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.