2009-10-18から1日間の記事一覧

Ubuntu9.04におけるGitのビルド

入門Gitを購入。とりあえずUbuntuのgit-coreというパッケージが入ってるけど、確かにバージョンが古いので、git-coreパッケージを削除して、ソースからビルドすることに $ sudo apt-get remove git-core $ sudo apt-get build-dep git-core $ wget http://ww…

bashにおけるrehash

PC

/usr/bin/gitを削除して/usr/local/bin/gitにインストールしたのですが $ git -bash: /usr/bin/git: command not found $ rehash -bash: rehash: command not foundなんて訳が分からんことを言われる始末。rehashってのは昔tcshで使った覚えがあったのですが…