docs プルの説明を追加
This commit is contained in:
21
README.md
21
README.md
@@ -3,7 +3,7 @@
|
||||
TEST用リポジトリ
|
||||
|
||||
- clone方法
|
||||
`code`または`<>コード`ボタンをクリックします
|
||||
`<>code`または`<>コード`ボタンをクリックします
|
||||
https箇所に下記のような表記があるのでClickしてコピー
|
||||
`https://git.vrcworldtour.com/every_holiday/vrcwt-test.git`
|
||||
|
||||
@@ -15,5 +15,22 @@ kennypi@kpi5 ~/work$ git clone https://git.vrcworldtour.com/every_holiday/vrcwt-
|
||||
```bash
|
||||
kennypi@kpi5 ~/work$ ls
|
||||
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