3
1

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 3 years have passed since last update.

GitHubのプルリクエストでファイルツリーが表示されるようになりました(ベータ版機能)

Last updated at Posted at 2022-03-03

はじめに

Feature preview1(早期アクセスリリース)として、プルリクエストの変更したファイルをツリー形式で閲覧できる機能(Pull Request File Tree)がリリースされてました。
使ってみたら良かったので備忘録兼ねて、以下詳細を記載します。

Pull Request File Treeについて

以下の様に、プルリクエストのファイル差分を開くと画面左側に変更したファイルがツリー形式で表示されます。
※ なお、変更したファイルが1ファイルの時はツリー形式で表示されないようです。

公式の説明)

Navigate between changed files more quickly and get a high-level view of the changes in a pull request with the new file tree view. When there is available room to show it, the tree replaces the existing Jump to menu and provides a hierarchical view of the files added, changed, deleted, or renamed in a pull request.

和訳)
新しいファイルツリー表示により、変更されたファイル間をより迅速に移動し、プルリクエストの変更点を上位から見ることができます。表示可能なスペースがある場合、ツリーは既存のジャンプメニューに取って代わり、プルリクエストに追加、変更、削除、リネームされたファイルの階層的なビューを提供します。

画面イメージはこちら
Pull Request File Tree

設定方法

右上のメニューより、[Feature preview] - [Pull Request File Tree]の[Enable]ボタンをクリックすると機能をONにすることが可能です。
スクリーンショット 2022-03-04 8.31.28.png

スクリーンショット 2022-03-04 8.32.40.png

参考・関連URL

脚注

  1. 機能プレビューで早期アクセスリリースに触れる - GitHub Docs

3
1
1

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?