1
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?

More than 1 year has passed since last update.

GitLensでPRを辿る方法

Posted at

背景

PRに情報がまとまっていることが多いので、commitから大元のPRをサッと辿りたいと思いました。
色々と方法はあると思いますが、自分的にはこれが早いので備忘録として残します。
(たまに辿り方を忘れる)

GitLensのセットアップ

使い方や設定については以下の記事などを参考にしてください。
本記事では解説しません。

GitLensでPRを辿る

設定できたらこのようにカーソルがある行に「{コミットした人},{いつコミットしたか}・{タイトル}」が表示されます。

スクリーンショット 2024-06-19 11.17.31.png

この文字にカーソルを当てると以下のような表示が出てきますので、
赤枠で囲っている地球のアイコンを押下してください。

スクリーンショット 2024-06-19 11.17.43.png

そうするとページが開き、コミットの画面に飛べます。
あとは赤枠で囲っている箇所を押下すればそのcommitが含まれているPRへ飛べます。

スクリーンショット 2024-06-19 11.18.08.png

以上です!

1
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
1
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?