Thread (8 messages) flat view 8 messages, 6 authors, 2016-06-15

Re: Newbie question

From: Andrew Keller <hidden>
Date: 2016-06-15 22:49:34

On Sep 19, 2010, at 7:51 PM, kinley wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help