From: Subject: Re: Newbie to git Date: Sun, 27 Dec 2009 21:55:46 +0000 Message-ID: <0a78ff1d3ae5d236fa45c31f7bb8bd54@192.168.1.222> References: <1435.87.196.47.196.1261932152.squirrel@webmail.decimal.pt> <3a9710ae6b01fabf3b462da607af2534@192.168.1.222> <26ae428a0912271212j70857e29m6248f6ec653f7551@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: X-From: git-owner@vger.kernel.org Sun Dec 27 22:55:43 2009 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.50) id 1NP15R-0001K6-Hp for gcvg-git-2@lo.gmane.org; Sun, 27 Dec 2009 22:55:41 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751594AbZL0Vzh (ORCPT ); Sun, 27 Dec 2009 16:55:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751454AbZL0Vzg (ORCPT ); Sun, 27 Dec 2009 16:55:36 -0500 Received: from mailrly08.isp.novis.pt ([195.23.133.218]:36285 "EHLO mailrly08.isp.novis.pt" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbZL0Vzg (ORCPT ); Sun, 27 Dec 2009 16:55:36 -0500 Received: (qmail 9539 invoked from network); 27 Dec 2009 21:55:33 -0000 Received: from unknown (HELO mailfrt08.isp.novis.pt) ([195.23.133.200]) (envelope-sender ) by mailrly08.isp.novis.pt with compressed SMTP; 27 Dec 2009 21:55:33 -0000 Received: (qmail 22892 invoked from network); 27 Dec 2009 21:55:33 -0000 Received: from unknown (HELO web.decimal.pt) (Sent_by_authenticated_user_nm087018@[195.23.114.74]) (envelope-sender ) by mailfrt08.isp.novis.pt with SMTP; 27 Dec 2009 21:55:33 -0000 Received: from webmail.decimal.pt (localhost [127.0.0.1]) by web.decimal.pt (Postfix) with ESMTP id 46E1E3D53B for ; Sun, 27 Dec 2009 21:55:46 +0000 (WET) In-Reply-To: <26ae428a0912271212j70857e29m6248f6ec653f7551@mail.gmail.com> X-Sender: mysql.jorge@decimal.pt User-Agent: RoundCube Webmail Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Hi Howard, > Firstly, I would have a serious look at 'gitosis' for the server end > (there are other similar projects I believe). > > Secondly, the push command is wrong. You don't need to supply the > remote URL again... that's what 'origin' is telling the push command, > which remote to use. This would have been established by the original > clone. > > Also, again, be careful with 'empty' repositories. (again AFAIK) an > empty repository is just that, it doesn't even have a master branch so > you really need to check out a branch and commit something before > pushing makes much sense. I'm sure this is not 100% correct but you'll > be safe that way! Well, gitosis even made me more confused :P Let me reask: I'm running git deamon under supervisor with: /usr/lib/git-core/git-daemon --syslog --export-all --enable=receive-pack --verbose --base-path=/home/apache/gitprojects then i went to /home/apache/gitprojects and runned: git init git add . but for example, CGIT web interface says: -- Not a git repository: '/home/apache/gitprojects' generated by cgit at 2009-12-27 21:54:47 (GMT) -- what could i be missing here? I've been reading howto's i find on the web, but all lead me to the same point, what i did and non work.. (with me). Jorge,