welcome: please sign in

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Last name of the current Debian Project Leader

Revision 1 as of 2013-10-17 08:43:22

Edit

MemberManual / VersionControl / darcs

This page describes the ways one can use darcs at HCoop

1. Hosting a darcs repository

You can use your web space for hosting a public darcs repository. This section descrives the steps you need to perform in order to do that.

1.1. Creating a repository on the server

First of all, you want to have a darcs repository accessible from the web. In order to do that you

cd ~/public_html
mkdir repo
cd repo
darcs initialize

now your repository can be cloned by simpl doing

darcs get http://hcoop.net/~USER/repo

Of course, you can host a repository on your own domain name too.

1.2. Pushing changes to the repository

You can push patches from your local repository to the repository hosted at HCoop using your ssh login:

darcs push ssh://USER@ssh.hcoop.net:public_html/repo

this command will prompt you for your password, you can set up passwordless login if you want to avoid that.