Android Zaurusの日記 「Androidカーネルの差分を華麗にゲットするTips」が素敵だったので、自分ならこうやるかなあ、という方法をご紹介。 引用元では .git ディレクトリの中を直接覗いていますが、ここでは git コマンドを使ってやってみます。最終的にやってることは同じです。 まず、リポジトリを clone します。 $ git clone git://android.git.kernel.org/kernel/common.git $ cd common clone してきた branch を確認します。 $ git branch * android-2.6.27android-2.6.27 という branch しかローカルにはありません。 リモートの branch は、git remote show コマンドで確認できます。 $ git remote show