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

Help with setting up git server

From
Ggit815 <jianfu.pan@gmail.com>
Date
Dec 4, 2011, 13:22 UTC
Message-ID
<1323004969273-7060154.post@n2.nabble.com>

After what I thought I have set up a git server under http, I'm getting this error on client site whenever I issue a git command: "fatal: Not a git repository (or any of the parent directories): .git".

Here is what I did: (1) In project directory, clone a git project: "git clone --bare proj.git" ( I noticed no .git subdirectory exists in the cloned directory). (2) Move the cloned directory proj.git under web server path. (3) On a separate client machine, clone a local copy of the project: "git clone http://git-server/proj.git" (This command runs and gives me the actual source code files and nothing else. The cloned proj.git directories contains git files and directories).

I'm new and I must have missed something.  Can anyone help?  Thanks.

-- View this message in context: http://git.661346.n2.nabble.com/Help-with-setting-up-git-server-tp7060154p7060154.html Sent from the git mailing list archive at Nabble.com.

Message 1 of 1 in “Help with setting up git server”
  1. git815Dec 4, 2011

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.