Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:hg_tips [2009-07-03 16:47] becki created |
— (aktuell) | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | [[CVS Tips]] - [[SVN Tips]] | ||
- | |||
- | ====== Mercurial Tips == | ||
- | ===== Getting Help == | ||
- | |||
- | * ''hg'' lists basic commands, ''hg help'' lists all commands and ''hg help <command>'' shows the help for ''<command>'' | ||
- | * [[http://mercurial.selenic.com/|Mercurial homepage]] with docu links | ||
- | |||
- | ===== Initial import == | ||
- | |||
- | Cd into the root directory of your project and type ''hg init''. This merely creates the subdir ''.hg'' which //is// the repository.:?: The current dir becomes the working dir of the project.:?: | ||
- | |||
- | Add all files to the project by ''hg add'' and ''hg commit'' | ||
- | |||
- | [[http://mercurial.selenic.com/wiki/QuickStart#Setting_up_a_new_Mercurial_project|More]] | ||