Yanor.net/
Wiki
Blog
GitHub
Sandbox
開始行:
* 名前付きブランチ [#zca3a678]
** ブランチ作成 [#lfe2ccc7]
> hg branch br01
> hg commit -m 'new branch'
** ブランチ一覧確認 [#le72e7e0]
> hg branches
br01 4:4c7817a0209a
default 3:9131fc7704ce (inactive)
** 現在のブランチを確認 [#i6880311]
> hg branch
default
** ブランチを移る [#za51f9bf]
> hg update br01
br01に移った。
*** 現在のブランチに未コミットな変更がある場合でブランチ...
> hg update -C br01
現在のブランチの変更は破棄される。
** ブランチを閉じる [#e30c069a]
「ブランチを閉じる」 = 「hg branchesにそのブランチが表示...
> hg commit --close-branch
現在のブランチは閉じられた。
** ブランチを削除する [#w4dcae91]
出来ない。
** ブランチをマージする [#b09f5e3a]
> hg merge br01
終了行:
* 名前付きブランチ [#zca3a678]
** ブランチ作成 [#lfe2ccc7]
> hg branch br01
> hg commit -m 'new branch'
** ブランチ一覧確認 [#le72e7e0]
> hg branches
br01 4:4c7817a0209a
default 3:9131fc7704ce (inactive)
** 現在のブランチを確認 [#i6880311]
> hg branch
default
** ブランチを移る [#za51f9bf]
> hg update br01
br01に移った。
*** 現在のブランチに未コミットな変更がある場合でブランチ...
> hg update -C br01
現在のブランチの変更は破棄される。
** ブランチを閉じる [#e30c069a]
「ブランチを閉じる」 = 「hg branchesにそのブランチが表示...
> hg commit --close-branch
現在のブランチは閉じられた。
** ブランチを削除する [#w4dcae91]
出来ない。
** ブランチをマージする [#b09f5e3a]
> hg merge br01
ページ名: