Skip to content

Commit 654b129

Browse files
committed
Add git pull description
1 parent 624a7e4 commit 654b129

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

docs/3-web-servers/12-team-development/index.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import createNewBranchWithCliVideo from "./create-new-branch-with-cli.mp4";
88
import pushNewBranchVideo from "./push-new-branch.mp4";
99
import pushNewBranchWithCliVideo from "./push-new-branch-with-cli.mp4";
1010
import prPracticeVideo from "./pr-practice.mp4";
11+
import pullBranchVideo from "./pull-branch.mp4";
12+
import pullBranchWithCliVideo from "./pull-branch-with-cli.mp4";
1113

1214
## GitHub を用いた共同開発をする
1315

@@ -154,3 +156,21 @@ GitHub を開き `Pull requests` を開いてください。
154156
マージしたら、不要になったブランチは削除しておきましょう。
155157

156158
<video src={prPracticeVideo} muted controls />
159+
160+
この後、また変更を加える場合は、他の人が変更を加えている可能性があるので、まずは `main` ブランチに戻って、プルをすることでリモートの変更を取り込みます。その後は、今までと同様に新しいブランチを作成して進めて言ってください。
161+
162+
リモートの変更をプルするには、`Source Control` パネルから `Pull` を押してリモートの変更を取り込みます。
163+
164+
<video src={pullBranchVideo} muted controls />
165+
166+
:::info
167+
168+
コマンドラインからプルするには、次のコマンドを実行します。
169+
170+
```shell
171+
git pull
172+
```
173+
174+
<video src={pullBranchWithCliVideo} muted controls />
175+
176+
:::
126 KB
Binary file not shown.
174 KB
Binary file not shown.

0 commit comments

Comments
 (0)