docs プルの説明を追加
This commit is contained in:
23
README.md
23
README.md
@@ -3,7 +3,7 @@
|
|||||||
TEST用リポジトリ
|
TEST用リポジトリ
|
||||||
|
|
||||||
- clone方法
|
- clone方法
|
||||||
`code`または`<>コード`ボタンをクリックします
|
`<>code`または`<>コード`ボタンをクリックします
|
||||||
https箇所に下記のような表記があるのでClickしてコピー
|
https箇所に下記のような表記があるのでClickしてコピー
|
||||||
`https://git.vrcworldtour.com/every_holiday/vrcwt-test.git`
|
`https://git.vrcworldtour.com/every_holiday/vrcwt-test.git`
|
||||||
|
|
||||||
@@ -14,6 +14,23 @@ kennypi@kpi5 ~/work$ git clone https://git.vrcworldtour.com/every_holiday/vrcwt-
|
|||||||
指定したリポジトリが入っていればOK
|
指定したリポジトリが入っていればOK
|
||||||
```bash
|
```bash
|
||||||
kennypi@kpi5 ~/work$ ls
|
kennypi@kpi5 ~/work$ ls
|
||||||
vrcwt-test
|
vrcwt-test
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
# remote登録
|
||||||
|
```bash
|
||||||
|
git remote set-url origin https://git.vrcworldtour.com/every_holiday/VRCWT-TEST.git
|
||||||
|
|
||||||
|
#git stash git stash pop をやるのは面倒なのでgit pull するだけで自動退避・復元してくれる用に設定
|
||||||
|
git config --global rebase.autostash true
|
||||||
|
|
||||||
|
# 自分の変更と誰かの変更が競合(コンフリクト)すると問題が発生するのでリモートの差分を取ってきます
|
||||||
|
git fetch origin
|
||||||
|
|
||||||
|
git pull origin main
|
||||||
|
# remoteと同じになってればOK
|
||||||
|
|
||||||
|
git diff main origin/main
|
||||||
|
git log -p -1
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user