2012-04-18から1日間の記事一覧

現在のブランチを確認します。

$ git branch * (no branch) master無名ブランチにいることがわかります。 参考:自分用のGit備忘録 - kanonjiの日記

無名ブランチに入ります。

$ git checkout --detach Note: checking out 'HEAD'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by p…

現在のブランチを確認します。

$ git branch * master

無名ブランチに入る

git

無名ブランチに入るには次のように行います。 $ git checkout --detach