DebianでGitをインストールする手順
apt-get install git-coreですんなり終わるかと思っていたら、
GNU Interactive Toolsというのと競合してるらしく、
以下のようなメッセージが出てきます。
pre>>
git, the filemanager with GNU Interactive Tools, is now called gitfm.
If you are looking for git, Linus Torvald's content tracker, install
the cogito and git-core packages and see README.Debian and git(7).
This transition script will be removed in the debian stable
release after etch.
If you wish to complete the transition early, install git-core
and use (as root):
update-alternatives --config git
Press RETURN to run gitfm
<<--
指示の通り、update-alternatives --config gitを実行すると、
今度はこんな感じのメッセージが出るので、
pre>>
update-alternatives --config git
There are 2 alternatives which provide `git'.
Selection Alternative
*+ 1 /usr/bin/git.transition
2 /usr/bin/git-scm
Press enter to keep the default[*], or type selection number:
<<--
2の/usr/bin/git-scmを選択します。
これでGitを使えるようになりました。