From: Erik Faye-Lund Date: Wed, 13 Jul 2011 13:17:36 GMT Subject: Re: Coming from SVN world - need help Message-ID: In-Reply-To: <20110713183056.1cde5b61@shiva.selfip.org> On Wed, Jul 13, 2011 at 3:00 PM, J. Bakshi wrote: > And now the issues when I am trying to do the same with git > > [1] git init ${git_path}/.git  >>> ok , it is working You probably want to add the "--bare"-flag if this is the repo that will be published. > [2] Problem with mapping a dir with this repo > > mydir $> git --username --password clone file:///${git_path}/.git > > Not working --username and --password . > You don't need username and password to clone over the file-system, just the correct file-system permissions. > [3] git commit -m also not commit into master. git commit -m"foo" commits into the local branch that HEAD points to (should be 'master' by default). You need to do "git push" to update the published repo.