From: J. Bakshi Date: Wed, 13 Jul 2011 13:00:56 GMT Subject: Coming from SVN world - need help Message-ID: <20110713183056.1cde5b61@shiva.selfip.org> Dear list, Greetings !! I have come from SVN world and totally new to GIT. I have managed to set gitweb and git; based on https:// along with authentication ( both for read and right ). And now I like to do the rest of the svn related thing in GIT. Just see the script below. This script first create an empty repo, built the structure; then checkout in a directory to map trunk with it and add contents to the repo. ``````````````````` svnadmin create ${svn_path}/ svn mkdir file:///${svn_path}//trunk \ file:///${svn_path}//tags \ file:///${svn_path}//branches \ -m "creating repo structure" # map a directory with trunk cd mydir mydir $> svn --username ${admin_svn} --password ${admin_svn_pass} co file:///${svn_path}/${name_site}/trunk ./ #add and commit mydir $> svn add dir1 dir2 ##commit mydir $> svn commit -m "adding dir1 dir2" mydir $> svn up ```````````````````````````````` And now the issues when I am trying to do the same with git [1] git init ${git_path}/.git >>> ok , it is working [2] Problem with mapping a dir with this repo mydir $> git --username --password clone file:///${git_path}/.git Not working --username and --password . Also git clone file:///${git_path}/.git creates a folder .git where I like map the working directory with the contents of .git [3] git commit -m also not commit into master. Could any one please give me some clue ? Thanks