Add several helpful commands and comment thoroughly.

Mon, 22 Sep 2008 12:22:30 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 22 Sep 2008 12:22:30 +0200
changeset 4
62398aca41ec
parent 3
54ca2262f246
child 5
8bfc07358be1

Add several helpful commands and comment thoroughly.

befehle.txt file | annotate | diff | comparison | revisions
     1.1 --- a/befehle.txt	Mon Sep 22 12:15:12 2008 +0200
     1.2 +++ b/befehle.txt	Mon Sep 22 12:22:30 2008 +0200
     1.3 @@ -1,6 +1,21 @@
     1.4  Pour cloner un dépôt privé:
     1.5    $ hg clone https://user@hg.domain.tld/depotprive
     1.6  
     1.7 +Pour changer le sources:
     1.8 +  $ cd depotprive
     1.9 +  $ echo 'Nochwas' >>irgendwas.txt
    1.10 +  $ hg commit
    1.11 +  $ hg push
    1.12 +
    1.13 +Pour aktualiser:
    1.14 +  $ cd depotprive
    1.15 +  $ hg pull
    1.16 +  $ hg update
    1.17 +
    1.18 +...oder einfacher:
    1.19 +
    1.20 +  $ hg pull -u
    1.21 +
    1.22  Pour mettre à jour ce même dépôt:
    1.23    $ hg push https://user@hg.domain.tld/depotprive
    1.24    abort: 'http://hg.domaine.tld/projet' does not appear to be an hg repository!
    1.25 @@ -10,3 +25,9 @@
    1.26  Ou avec SSH2:
    1.27    $ hg clone ssh://vous@ssh.domaine.tld//home/hg/public/projecto
    1.28    $ hg push ssh://vous@ssh.domaine.tld//home/hg/public/projeto
    1.29 +
    1.30 +...oder einfacher:
    1.31 +
    1.32 +  $ cd projecto
    1.33 +  $ hg commit
    1.34 +  $ hg push

mercurial