[Frugalware-git] frugalware-current: docs/repos: mention git config
receive.denycurrentbranch
Miklos Vajna
vmiklos at frugalware.org
Thu Feb 26 23:43:27 CET 2009
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=30ea702f0ee0d637ba378c608b7f412e3bf31b57
commit 30ea702f0ee0d637ba378c608b7f412e3bf31b57
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Thu Feb 26 23:43:11 2009 +0100
docs/repos: mention git config receive.denycurrentbranch
- and other minor changes
diff --git a/docs/repos.txt b/docs/repos.txt
index b533c23..89b7ad4 100644
--- a/docs/repos.txt
+++ b/docs/repos.txt
@@ -13,11 +13,20 @@ server (/pub). To prevent further problems, always use the server name
First decide if it's a personal repository or a team one. For example if you
create a repository to update to a newer python version, then probably you will
-do all the work, create it under `/pub/other/people/nick/reponame`. Simply
-create a dir, issue `git init` and push at least one commit to there.
+do all the work, create it under `/pub/other/people/nick/reponame`.
+
+The steps are:
+
+. Create a dir
+
+. Issue `git init` and `git config receive.denycurrentbranch ignore`.
+
+. Push at least one commit to there.
+
+. Enable the required hooks (see below).
Now anyone can `git clone` it, using a 'full mirror', for example
-`ftp://ftp12.frugalware.org/mirrors/ftp.frugalware.org/pub/`.
+`http://www12.frugalware.org/mirrors/ftp.frugalware.org/pub/`.
== Registering for the gitweb interface
More information about the Frugalware-git
mailing list