Darcs/Quick Start
|
Please see http://darcs.net/DarcsWiki/GettingStarted
설치 ¶
일반적인 시나리오 ¶
초기화 ¶임의의 디렉토리를 만들어, 그 디렉토리에 들어가서
darcs init을 하면 초기화된다.
$ mkdir myproject
$ cd myproject
$ darcs init
그러면 _darcs라는 디렉토리가 만들어지며, 그 안에 여러 파일들이 생성됨을 알 수 있다.
$ ls -F _darcs/ current/ inventories/ inventory patches/ prefs/ darcs는 repository가 중앙에 따로 없고,
darcs init으로 방금 만든 것이 바로 repository이다
파일 더하기 ¶hello.c를 하나 만든 후에 이것을 더하려면
$ darcs add hello.c그런다음 이것을 commit하려면 $ darcs record -am "init." 서버는 어디에? ¶darcs는 서버가 따로 없다. 모든 repository는 서버의 repository가 될 수 있으며, filesystem ssh/sftp, http, email등등을 통해
접근할 수 있다.
$ darcs get http://www.ScannedInAvian.org/repos/wikiwiki
Copying patch 47 of 47... done!
Applying patches to the "working" directory...
..........................................................................
Finished getting.
|
True happiness will be found only in true love. |











