Upgrade to Pro — share decks privately, control downloads, hide ads and more …

create a pull request for the first time

create a pull request for the first time

GitHub を使ってプルリクエストを作成する手順です。

hidekazuna

May 31, 2021
Tweet

More Decks by hidekazuna

Other Decks in Programming

Transcript

  1. Upstream GitHubリポジトリ Origin GitHubリポジトリ ファイルを変更する ファイルをcommitに追加する git add file_name ブランチを作成する

    git checkout –b branch_name commitする git commit ブランチを自分のGitHubリポジトリに送る git push origin branch_name Upstream GitHubリポジトリ設定 cd repository_name git remote add upstream upstream_url git remote set-url --push upstream no_push git remote -v ローカルにクローンする git clone origin_url はじめてプルリクエストを作成する手順(CLI) ① ➁ ➂ ④ ⑤ ➆ ⑥ ⑧ Compare & pull request ➈ ⑩ Create pull request GitHub パソコン Fork