言語
サーバ関連
ツール
API
読み物
その他
[AD]
git branch
でブランチの一覧を表示します。オプションを何もつけないとローカルにあるブランチのみの表示となります。
$ git branch * master
先頭に *
が付いているのが今現在自分がいるブランチです。
-a
オプションをつけると、remoteとローカルにあるブランチをすべてを表示。
$ git branch -a * master remotes/origin/feather201204 remotes/origin/master remotes/origin/wiki
-r
オプションをつけると、remoteにあるブランチのみ表示。
$ git branch -r origin/feather201204 origin/master origin/wiki
failed to fetch data: unkown error
failed to fetch data: unkown error
failed to fetch data: unkown error
failed to fetch data: unkown error