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.

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

mercurial