Quantcast
Channel: ソフラボの技術ブログ
Viewing all articles
Browse latest Browse all 166

MacにMercurialをインストールする

$
0
0

f:id:shinsuke789:20141003110840p:plain

環境

MacOS10.9.2
Mercurial3.0.1

手順

1.公式サイトよりMacMercurialをダウンロードします。
http://mercurial.selenic.com/downloads


2. ダウンロードしたzipファイルを解凍し、pkgファイルをダブルクリックしてインストーラーを起動しインストールします。


3.ターミナルを起動し、ログインユーザーのユーザーディレクトリにMercurail用設定ファイル.hgrcを作成します。

touch ~/.hgrc


4.viエディタ等で.hgrcを開き、次を入力し保存します。

[ui]
username = コミット時のユーザー名


5.ターミナルよりMercurialがインストールされているか確認します。

hg --version

結果

Mercurial Distributed SCM (version 3.0.1+20140606)(see http://mercurial.selenic.com for more information)

Copyright (C)2005-2014 Matt Mackall and others
This is free software; see the sourcefor copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Viewing all articles
Browse latest Browse all 166

Trending Articles