git/list[1] front-page[2] threads[3] people[4] search[5] about
 

few questions from a git newbie

From
LKLevente Kovacs <leventelist@gmail.com>
Date
Feb 25, 2010, 19:26 UTC
Message-ID
<20100225202634.6a687a6c@gmail.com>
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
Next: Christian MICHON
Message 1 of 2 in “few questions from a git newbie”
  1. Levente KovacsFeb 25, 2010
  2. Christian MICHONFeb 25, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.