git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Levente Kovacs <leventelist@gmail.com>
To: git@vger.kernel.org
Subject: few questions from a git newbie
Date: Thu, 25 Feb 2010 20:26:34 +0100	[thread overview]
Message-ID: <20100225202634.6a687a6c@gmail.com> (raw)

Hi,


I am a git newbie, so forgive my ignorance.

I've set up a working system with gitosis.

http://logonex.eu/git/

Currently I can add a repository by doing the following
stuff:

edit gitosis.conf

ssh git@server
mkdir REPO.git
cd REPO.git
git --bare init
exit

git clone git@server:REPO.git
cd REPO
git remote add REPO git@server:REPO.git
touch .gitignore
git add .gitignore
git commit -a
git push origin master

Is this flow is the "right way"? How can I add a repository without ssh'ing to
the server?

Next question is about SVN.

I was using SVN, and now I am migrating from SVN to git. I could import
everything to a new repository. However, I want to reorganize my stuff, and
break it to several repositories. Can I move directories to other
repositories? Or can I partially import a directory from SVN to another
directory in a git repository?

How can I make gitosis to hide certain repositories?

Thank you very much for your answers.

Levente

-- 
Levente Kovacs
http://logonex.eu

             reply	other threads:[~2010-02-25 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 19:26 Levente Kovacs [this message]
2010-02-25 20:35 ` few questions from a git newbie Christian MICHON

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=20100225202634.6a687a6c@gmail.com \
    --to=leventelist@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).