15
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SourceTreeのコミットログに書いてあるRedmineのチケット番号をクリックできるようにする

Last updated at Posted at 2013-05-24

refs #1234みたいなのをクリックするとそのチケットに飛ぶようなやつ。

  • メニューから「リポジトリ」>「リポジトリ設定...」を選ぶ
  • 「高度な設定」タブにある「コミット文字列の置換」欄の「追加」ボタンを押す
  • 以下のように設定
    • 置換タイプ: 「その他」
    • 正規表現パターン: 「(fixes|refs)\s+#(\d+)
    • と置き換えます: 「$1 <a href="http://redmine.example.com/issues/$2">#$2</a>」 (ドメインは適宜置き換えて)
15
13
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
15
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?