Gitで(no branch)のコミットをmasterへマージする

以下のサイトに書いてありました.

http://at-aka.blogspot.jp/2009/05/git-no-branch-commit.html

$ git checkout master
Previous HEAD position was 9a5e01d... Hoge Hoge Commit Log
Switched to branch "master"
$ git merge 9a5e01d

ようするにmasterをチェックアウトして(no branch)のリビジョン番号を確認したのちにそれをマージするわけですね.