-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# 編集方法 | ||
|
||
:::info | ||
|
||
この記事はGitがわからない人向けです | ||
分かる人はいい感じにやってください | ||
|
||
::: | ||
|
||
Git を用いての他の人との作業を円滑に進めるために、以下の手順に則って編集を行うようにお願いします | ||
|
||
ざっくりとした手順は以下のとおりです | ||
|
||
0. 作業データの更新 | ||
他の人による更新がないか確認し、あれば更新します | ||
1. 作業用ディレクトリの作成 | ||
他の人と作業内容が被らないように作業用にディレクトリを分けます | ||
2. 編集 | ||
ファイルを編集します | ||
3. ファイルをアップロード | ||
変更を保存し、サーバーにアップロードします | ||
4. 自動チェック | ||
自動的にファイルの内容のチェックが行われます | ||
5. 編集内容の統合 | ||
問題がなければ変更内容を反映します | ||
|
||
## 0. 作業データの更新 | ||
|
||
![](assets/img/01-1.png) | ||
|
||
`① Fetch origin` を押し、データを更新します | ||
|
||
## 1. 作業用ディレクトリの作成 | ||
|
||
![](assets/img/01-2.png) | ||
|
||
`② Current branch` を押し、表示されるメニューから、 `③ New branch` を押します | ||
|
||
![](assets/img/01-3.png) | ||
|
||
`④ Name` を決め、 `⑤ Create branch` を押して作業ディレクトリを作成します | ||
:::note | ||
|
||
名前は重複が不可のため、 `自分の名前-作業内容` といった形にするとよいです | ||
(画像内においては `ootr-test` という名前にしています) | ||
|
||
::: | ||
|
||
## 2. 編集 | ||
|
||
![](assets/img/01-4.png) | ||
|
||
`⑥ Open in Visual Studio Code` を押し、VSCodeを開きます | ||
|
||
各ファイルは `docs` フォルダー以下にあります | ||
|
||
## 3. ファイルをアップロード | ||
|
||
![](assets/img/01-5.png) | ||
|
||
`⑦` に、作業内容の概要を書き、`⑧ Commit to <ootr-test>` を押して、変更を保存します | ||
|
||
![](assets/img/01-6.png) | ||
|
||
`No local changes` と表示されていることを確認し、`⑨ Publish branch` を押して変更をアップロードします | ||
|
||
## 4. 自動チェック | ||
|
||
![](assets/img/01-7.png) | ||
|
||
`⑩ Preview Pull Request` を押し、 | ||
|
||
![](assets/img/01-8.png) | ||
|
||
`⑪ Create pull request` を押します | ||
|
||
![](assets/img/01-9.png) | ||
|
||
ブラウザが開くため、⑫⑬を埋め、⑭を押します | ||
|
||
![](assets/img/01-10.png) | ||
|
||
画面が切り替わり、テストが実行されます | ||
|
||
![](assets/img/01-11.png) | ||
|
||
上記のように `Some checks were not successful` と表示された場合はなにかしらの問題があります | ||
|
||
何が間違っているかわからない場合は技術部辺りまでお問い合わせください | ||
|
||
![](assets/img/01-12.png) | ||
|
||
上記のように `All checks have passed` と表示されている場合は問題ありません | ||
|
||
## 5. 編集内容の統合 | ||
|
||
![](assets/img/01-13.png) | ||
|
||
`⑮ Merge pull request` を押します | ||
|
||
これ以外のボタンが表示されている場合は技術部辺りまでお問い合わせください | ||
|
||
![](assets/img/01-14.png) | ||
|
||
上記のように `merged` と表示されれば完了です | ||
|
||
お疲れ様でした |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "編集方法", | ||
"position": 2, | ||
"link": { | ||
"type": "generated-index", | ||
"description": "ページを作成し、文章を書くためのドキュメントです" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.