starting completly new repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

First sorry if it is anwsered somewhere in the docs, but I am just (slowly) learning how to use git and reading the documentation. Any pointers to some article or tutorial that anwsers my questions will be appreciated.

What I am trying to do is to construct several repositories for the following work order:

1. There is some remote repo that is the main repository (call it main). It lives in some server and geneerally only one or two persons can push into it. All others can only pull from it.

2. Everybody has his own repo derived from main and she/he can make patches and send it to everybody else. One person is responsible for taking the patches and pushing them into main.

I need this set up fast and want to know how to do it. What I tried is basically:

(on the server)
mkdir main
git-init-db
touch .git/git-daemon-export-ok

(on my computer)
git-clone git://host/main main

But it looks like I must first do some commit on the server? But I can not make empty commit just to have things started? Or maybe there is some other way...

Also I wonder if I can do push over git protocol or I must use real ssh account on the server? This is not clear from the docs... At least not for me. How should I set up my repo (on my computer) to be able to push commits into main repo?

Also what should I set up additionally? How can I easily set author name and email for each repo? What is the difference between author and commiter and how should I set this up here?

Is there any documentation about git config file? Can I set author name, email and preffered editor in it or must I use environment?

Is there some irc channel for asking dumb questions as above and having them anwsered fast or should I use this mailing list?


Thanks in advance,

Grzegorz Kulewski

-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]