0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GitHubでマージしたブランチを自動で削除する設定にする

Posted at

GitHubのリポジトリルールでマージ済みブランチを自動で消せるらしいと聞いたのでやってみた

GitHubの設定

SettingsのGeneralの中に、PullRequest関連の設定項目がある。

ここの設定項目にチェックを入れると自動削除になる。
image.png

思った以上に簡単だった。

とはいえこの作業を毎回やるのは面倒くさいので手立てがないか探したが、リポジトリのルールセットの設定はJSON形式でエクスポートできるらしい。

今回のユースケースではないのでまた今後試す。

参考

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?