removed
[ikiwiki.git] / docs / handbook / handbook-updating-using.mdwn
1 ## Configuration 
2
3
4 DragonFly uses the git(1) distributed revision control system.  If it is not already on the system, it needs to be installed via pkgsrc(7) (`/usr/pkgsrc/devel/scmgit`).
5 cvsup is guided by a configuration file that describes what files to update, and the source from which to update them.
6
7
8 A fresh copy of the repository can be cloned anywhere.  Note that the directory to clone into (`/usr/src` in the following example) must not exist, so all previous work in this directory has to be saved and the directory be removed prior to cloning. Simple setup and updating of local repository is done using `/usr/Makefile`:
9
10     # cd /usr
11     # make help  # get help
12     # make src-update
13
14 Somewhat finer control can be achieved using git(1) directly: To clone the repository and check out the master branch (this will take some time):
15
16     # cd /usr
17     # git clone -o mirror-master git://mirror-master.dragonflybsd.org/dragonfly.git src
18     # cd src
19
20 The repository can be held up to date by pulling frequently (to set up a cron(8) job, git(1)'s `--git-dir` option can be used):
21
22     # cd /usr/src
23     # git pull