最終更新:2024-12-05 (木) 07:42:25 (50d)  

GitHub/プルリクエスト
Top / GitHub / プルリクエスト

メモ

  • you’re proposing your changes and requesting that someone review and pull in your contribution and merge them into their branch.

設定項目

Allow merge commits

  • Add all commits from the head branch to the base branch with a merge commit.

Allow squash merging

  • Combine all commits from the head branch into a single commit in the base branch.

Allow rebase merging

  • Add all commits from the head branch onto the base branch individually.

GitHub/マージの設定

プルリクエストの作成

  • マージするブランチを2つ指定
    • base:master
    • compare:readme-edits
  • プルリクエスト名
  • コメント

メモ

  • コミットしたらコードができてなくてもプルリクエストできる
  • 同じブランチ同士にプルリクは増やせない。
  • プルリク作成後にコミットが増えたらその分もプルリクに含まれる。あくまでブランチ同士のマージ要求
  • ブランチ作っただけだと変更がないのでプルリクできない。

表示

  • プルリクエスト作るとブランチ選択の右にプルリクがあることが表示される

コメントにキーワード使ってClose

GitHub FlowでPull Requestベースな開発フローの進め方