From: git815 <jianfu.pan@gmail.com>
To: git@vger.kernel.org
Subject: Help with setting up git server
Date: Sun, 4 Dec 2011 05:22:49 -0800 (PST) [thread overview]
Message-ID: <1323004969273-7060154.post@n2.nabble.com> (raw)
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.
reply other threads:[~2011-12-04 13:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1323004969273-7060154.post@n2.nabble.com \
--to=jianfu.pan@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).