Monday, November 26, 2007

hosting git project in http://repo.or.cz/

http://repo.or.cz/ is a free git hosting site.

* register user: http://repo.or.cz/m/reguser.cgi
if u don't have a cat ~/.ssh/id_rsa.pub yet. use "ssh-keygen -t rsa"
* register project: http://repo.or.cz/m/regproj.cgi
* edit project, add yourself as a user.
* create a local git dir
> mkdir fayland-git
> cd fayland-git
> git init-db
> vim README
> git add .
> export GIT_AUTHOR_NAME="Fayland Lam"
> export GIT_COMMITTER_NAME="Fayland Lam"
> git commit
* at last
> git push git+ssh://repo.or.cz/srv/git/fayland.git master

that's it.

Labels:

0 Comments:

Post a Comment

<< Home