* リポジトリ [#l8bd529a]

** クローン [#a33d5cde]
 > hg clone orig_repos new_repos

** リモートリポジトリのエイリアスを表示する [#ha00a598]
 > hg paths
クローン元のリポジトリがわかる。

** hg pull [#pf18fc5a]
*** 1. hanakoがtaroのリポジトリをcloneする [#c9cf4516]
 > hg clone taro hanako

*** 2. taroがリポジトリに変更を加えてcommitする [#od3794b0]
 > vi 1.txt
 > hg add 1.txt; hg commit 1.txt -m 'edit 1.txt'

*** 3. hanakoがtaroのcommitをpullで取り込む [#k089eb09]
 > hg pull
この時点で1.txtには修正が反映されてない。

*** 4. updateで修正をワーキングディレクトリに反映する [#w8f22d66]
 > hg update


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS