LoginSignup
0
0

More than 3 years have passed since last update.

GitHub ローカルとリモート

Posted at

前提)
git.hubの「アプリ(Github Desktop)」と「プラウザ」がある状態
アプリ開発中
自分のブランチ名)top-view


使用例)
担当部分の作業をpushしたい


1、アプリ(Github Desktop)=ローカル

自分のブランチ(top-view)にいることを確認
→Commit(タイトル名記入)
→push(fetch origin)
→create pull requiest
→リモートにいく

2、Githubプラウザ=リモート

pull requestがきてる
→内容大丈夫ならmerge
→confirm merge
→ローカルへいく

3,アプリ(Github Desktop)=ローカル

masterブランチに変更
→fetch origin
→pull origin
→自分の記述内容(top-view)が本体へ反映される

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