Re: starting completly new repository

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

 



On Sat, 25 Mar 2006 22:06:42 +0100 (CET)
Grzegorz Kulewski <kangur@xxxxxxxxxx> wrote:

> (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...

Did you actually start the git-daemon on the server?
 
> 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?

You can't commit over the git protocol, you'll need to use ssh.  
No need to do anything to your repo in order to push.

> Also what should I set up additionally? How can I easily set author name 
> and email for each repo? 

See below.

> What is the difference between author and commiter and how should I 
> set this up here?

Just what you might imagine, the person who created the patch and
the person who entered it into the repository respectively.
 
> Is there any documentation about git config file? Can I set author name, 
> email and preffered editor in it or must I use environment?

$ git repo-config user.email "user@xxxxxxxxx"
$ git repo-config user.name  "full name"

use the EDITOR environment variable to choose your desired editor.

> Is there some irc channel for asking dumb questions as above and having 
> them anwsered fast or should I use this mailing list?
 
#git on irc.freenode.net

Sean
-
: 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]