Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

GitHub | Issue と commit

概要

Issue と commit

詳細

Issue と git の commit は コミット時のコメントによって紐付可能です。

Issue にコミットを表示する

コミットコメントに #14 のような形式でコメントを残します。
これにより、Issue のビューにコミット情報が表示されるようになります。

コミットで Issue を閉じる

以下の記法をコミットコメントに含めることで Issue を閉じることができます。

close #14
closed #14
closes #14
fix #14
fixed #14
fixes #14
resolve #14
resolved #14
resolves #14