|
83 | 83 | 0. [AtCoder NoviSteps](https://github.com/AtCoder-NoviSteps)にメンバー申請をします。[@KATO-Hiro](https://twitter.com/k_hiro1818)にDMなどでご連絡いただければ、GitHubで登録しているメールアドレスに招待メールが届きますので、承認してください。 |
84 | 84 | 1. ターミナルなどを利用して、[本レポジトリ](https://github.com/AtCoder-NoviSteps/AtCoderNoviSteps)の内容をローカル環境にダウンロードします。 |
85 | 85 |
|
86 | | -`git clone https://github.com/AtCoder-NoviSteps/AtCoderNoviSteps.git` |
| 86 | + `git clone https://github.com/AtCoder-NoviSteps/AtCoderNoviSteps.git` |
87 | 87 |
|
88 | 88 | 2. 作業ディレクトリを`AtCoderNovisteps`に変更します。 |
89 | 89 |
|
90 | 90 | 3. 本レポジトリの最新情報を反映できるように、ご自身のリモートレポジトリに登録します。`git remote -v`で登録状況を確認できます。 |
91 | 91 |
|
92 | | -`git remote add root_branch https://github.com/AtCoder-NoviSteps/AtCoderNoviSteps.git` |
| 92 | + `git remote add root_branch https://github.com/AtCoder-NoviSteps/AtCoderNoviSteps.git` |
93 | 93 |
|
94 | 94 | ### (共通、Dockerのみ利用するユーザ向け) 開発環境のインストールとローカルの開発サーバを起動 |
95 | 95 |
|
|
160 | 160 |
|
161 | 161 | `pnpm exec playwright install-deps` |
162 | 162 |
|
163 | | - `pnpm dlx prisma db push` |
| 163 | + `pnpm exec prisma db push` |
164 | 164 |
|
165 | 165 | `pnpm dev` |
166 | 166 |
|
|
194 | 194 |
|
195 | 195 | 1. 本レポジトリの最新の内容を取得します。 |
196 | 196 |
|
197 | | -`git fetch root_branch` |
| 197 | + `git fetch root_branch` |
198 | 198 |
|
199 | 199 | 2. 取得した内容をご自身のローカル上のブランチにマージします。`staging`の部分を変えれば、別のブランチにすることも可能です。 |
200 | 200 |
|
201 | | -`git merge root_branch/staging` |
| 201 | + `git merge root_branch/staging` |
202 | 202 |
|
203 | 203 | 3. ご自身のリモートブランチを更新します。 |
204 | 204 |
|
205 | | -`git push origin staging` |
| 205 | + `git push origin staging` |
206 | 206 |
|
207 | 207 | #### 作業用のブランチ作成からプルリクエスト作成まで |
208 | 208 |
|
209 | 209 | 1. 作業用のブランチを作成します。 |
210 | 210 |
|
211 | | -`git checkout -b <your-new-branch-for-working> origin/staging` |
| 211 | + `git checkout -b <your-new-branch-for-working> origin/staging` |
212 | 212 |
|
213 | | -例: GitHubのIssue番号や機能名・ドキュメントやバグの種類などを表すキーワードを使います。 |
| 213 | + 例: GitHubのIssue番号や機能名・ドキュメントやバグの種類などを表すキーワードを使います。 |
214 | 214 |
|
215 | | -`git checkout -b "#998244353" origin/staging` |
| 215 | + `git checkout -b "#998244353" origin/staging` |
216 | 216 |
|
217 | | -`git checkout -b "feature/feature-name" origin/staging` |
| 217 | + `git checkout -b "feature/feature-name" origin/staging` |
218 | 218 |
|
219 | | -`git checkout -b "docs/docs-name" origin/staging` |
| 219 | + `git checkout -b "docs/docs-name" origin/staging` |
220 | 220 |
|
221 | | -`git checkout -b "bugfix/bug-name" origin/staging` |
| 221 | + `git checkout -b "bugfix/bug-name" origin/staging` |
222 | 222 |
|
223 | 223 | 2. ソースコードやドキュメントの加筆・修正を行います。以下のコマンドを実行し、アプリが意図した通りに動作するか確認してください。 |
224 | 224 |
|
|
244 | 244 |
|
245 | 245 | 3. 2.の内容をレポジトリに反映します。コミットメッセージは、加筆・修正した内容を端的に表したものであることが望ましいです。 |
246 | 246 |
|
247 | | -`git add .` |
| 247 | + `git add .` |
248 | 248 |
|
249 | | -`git commit -m "your-commit-message (#IssueID)"` |
| 249 | + `git commit -m "your-commit-message (#IssueID)"` |
250 | 250 |
|
251 | | -例: |
| 251 | + 例: |
252 | 252 |
|
253 | | -`git commit -m ":sparkles: Add hoge feature (#998244353)"` |
| 253 | + `git commit -m ":sparkles: Add hoge feature (#998244353)"` |
254 | 254 |
|
255 | | -`git commit -m ":books: Update README (#1333)"` |
| 255 | + `git commit -m ":books: Update README (#1333)"` |
256 | 256 |
|
257 | | -`git commit -m ":pencil2: Fix typo (#10007)"` |
| 257 | + `git commit -m ":pencil2: Fix typo (#10007)"` |
258 | 258 |
|
259 | 259 | 4. プルリクエストを作成する前に、加筆・修正した内容を確認します。 |
260 | 260 |
|
261 | | -`git diff origin <your-current-branch>` |
| 261 | + `git diff origin <your-current-branch>` |
262 | 262 |
|
263 | 263 | 5. 本レポジトリに更新内容を反映させます。 |
264 | 264 |
|
265 | | -`git push origin <your-current-branch>` |
| 265 | + `git push origin <your-current-branch>` |
266 | 266 |
|
267 | 267 | 6. プルリクエストを作成します。 |
268 | 268 |
|
|
0 commit comments