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?

Git hub プルリク後に修正が必要になった場合

Last updated at Posted at 2025-12-18

Githubでプルリクエストを出したが、その後に内容を変更する必要があった場合の手順をまとめる

手順

  1. コードの修正
     
  2. git addで修正したコードをステージングする
    • git add .: 変更したすべての内容をステージング
    • git add [ファイル名]: 指定したファイルの変更内容をステージング
       
  3. git commitでコミットする
    • git commit -m "変更内容を記述"
       
  4. コミットをリモートリポジトリにプッシュする
    • git push origin [ブランチ名]
       
  5. Git hubのプルリクの画面で実際にコミットが反映されているか確認する
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?