befehle.txt

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
permissions
-rw-r--r--

Add several helpful commands and comment thoroughly.

     1 Pour cloner un dépôt privé:
     2   $ hg clone https://user@hg.domain.tld/depotprive
     4 Pour changer le sources:
     5   $ cd depotprive
     6   $ echo 'Nochwas' >>irgendwas.txt
     7   $ hg commit
     8   $ hg push
    10 Pour aktualiser:
    11   $ cd depotprive
    12   $ hg pull
    13   $ hg update
    15 ...oder einfacher:
    17   $ hg pull -u
    19 Pour mettre à jour ce même dépôt:
    20   $ hg push https://user@hg.domain.tld/depotprive
    21   abort: 'http://hg.domaine.tld/projet' does not appear to be an hg repository!
    22   $ chmod 777 -R /home/hg/projet
    23   $ chown -R wwwdata /home/hg/projet
    25 Ou avec SSH2:
    26   $ hg clone ssh://vous@ssh.domaine.tld//home/hg/public/projecto
    27   $ hg push ssh://vous@ssh.domaine.tld//home/hg/public/projeto
    29 ...oder einfacher:
    31   $ cd projecto
    32   $ hg commit
    33   $ hg push

mercurial