LoginSignup
16
4

GitHubで自分がプッシュしたブランチを一覧表示する

Posted at

「GitHub上にある不要なブランチは削除してください」と言われることってありませんか?問答無用でマージ済みのブランチは削除するのも手なんですが、とりあえず「自分が上げたブランチ」を知りたいこともあると思います。

そんなとき GitHub 上で簡単に確認できることに最近気づきました。

手順

  1. GitHubで調べたいリポジトリのページを開きます
  2. 上部にある Branches の部分を押下します
    Monosnap lx-sasabo_class-analyzer - Google Chrome .png
  3. Yours のタブを押下すると自分が上げたブランチの一覧が確認できます
    Monosnap Branches · lx-sasabo_class-analyzer - Goo.png

以上です。Git のコマンドで自分がプッシュしたブランチの指定方法が分からなかったので助かりました。

参考ページ
https://docs.github.com/ja/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/viewing-branches-in-your-repository

16
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
4