LoginSignup
19
9

More than 5 years have passed since last update.

PRの1行目にclose #issue番号と書くとIssueが閉じれる

Last updated at Posted at 2016-09-16

概要

コミットのメッセージに close #Issue番号 と書くとIssueが閉じれることは有名ですが、案外知られていないのが Pull Requestの1行目に close #Issue番号と書くとMergeされた段階でIssueを閉じることができる事です。

使い方

PRを出すときにコメントの1行目にclose #Issue番号 と書くだけです。

PRを出している図

すると、マージされたときに…
スクリーンショット 2016-09-16 13.49.45.png

Issueが閉じられる!便利!

※デフォルトブランチにマージされないと閉じられないので気をつけましょう

19
9
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
19
9