Git development
 help / color / mirror / Atom feed
From: "J. Bakshi" <joydeep@infoservices.in>
To: git@vger.kernel.org
Subject: Coming from SVN world - need help
Date: Wed, 13 Jul 2011 18:30:56 +0530	[thread overview]
Message-ID: <20110713183056.1cde5b61@shiva.selfip.org> (raw)

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}/<repo>

svn mkdir file:///${svn_path}/<repo>/trunk  \
         file:///${svn_path}/<repo>/tags  \
         file:///${svn_path}/<repo>/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}/<repo>.git  >>> ok , it is working

[2] Problem with mapping a dir with this repo

mydir $> git --username <username> --password <password> clone file:///${git_path}/<repo>.git 

Not working --username and --password .

Also git clone file:///${git_path}/<repo>.git creates a folder <repo>.git where I like map  the working directory with the contents of <repo>.git

[3] git commit -m also not commit into master.

Could any one please give me some clue ?

Thanks

             reply	other threads:[~2011-07-13 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 13:00 J. Bakshi [this message]
2011-07-13 13:17 ` Coming from SVN world - need help Erik Faye-Lund
2011-07-14  5:33   ` J. Bakshi
2011-07-14  6:08     ` Ramkumar Ramachandra

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=20110713183056.1cde5b61@shiva.selfip.org \
    --to=joydeep@infoservices.in \
    --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