LoginSignup
17
17

More than 5 years have passed since last update.

tig から当該コミットがマージされた Pull Request 画面を開く

Posted at

GitベースのコードリーディングTips - クックパッド開発者ブログ で紹介されていた open-pull-request がとても便利なので、tig から呼び出せるようにしてみた、という話.

手順

open-pull-request をインストール

上記の記事に貼ってあるスニペットをシェルスクリプトに切り出して open-pr としてパス通した.

.tigrc を編集

bind generic P @open-pr %(commit)

つかいかた

tig を起動して、適当な view で P を押すと、当該コミットがマージされた Pull Request 画面をオープンできる.

参考

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