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

gh コマンドでPR作る→Webで表示する→マージする

Last updated at Posted at 2025-04-05

はじめに

最近、GitHub の ghコマンドを利用し始めました。
その中で、PR作る → WEBで表示する → マージする → をよくするので使っているコマンドをご紹介します。

ghコマンドを使っていなく、あー、便利そう!って思うきっかけになれば幸いです。

ghコマンドの勝手に思っている基本構成

この考えで、コマンドを覚える苦手感を減らしています。

gh 対象 操作

PRを作るコマンド

gh pr create

作ったPRをブラウザで表示するコマンド

gh pr view --web

作ったPRをマージするコマンド

gh pr merge

公式リファレンス

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