-
以下のリポジトリを開きます。
-
画面右上の Fork ボタンをクリックします。
-
自分の GitHub アカウントにリポジトリがコピーされます。
-
ターミナルを開きます。
-
作業用ディレクトリに移動します。
cd YourName/Documents/Github/ -
自分の fork したリポジトリを clone します。
git clone https://github.com/<your-github-username>/SRS.git
-
プロジェクトディレクトリに移動します。
cd SRS
作業は必ず新しいブランチで行ってください。
git checkout -b feature/your-branch-name例:
git checkout -b feature/update-readme- IDE やエディタでプロジェクトを開きます。
- ファイルを編集し、保存します。
-
変更内容をステージします。
git add . -
コミットメッセージを付けてコミットします。
git commit -m "変更内容を簡潔に書く"
git push origin feature/your-branch-name-
GitHub で自分の fork したリポジトリを開きます。
-
表示される Compare & pull request をクリックします。
-
以下を確認します。
- Base repository:
fialuxe/SRS - Base branch:
main
- Base repository:
-
内容を記入し、Create Pull Request をクリックします。
-
Open the repository:
-
Click the Fork button in the top-right corner.
-
A copy of the repository will be created in your GitHub account.
-
Open the Terminal.
-
Move to your working directory:
cd YourName/Documents/Github/ -
Clone your forked repository:
git clone https://github.com/<your-github-username>/SRS.git
-
Move into the project directory:
cd SRS
Always create a new branch before making changes.
git checkout -b feature/your-branch-nameExample:
git checkout -b feature/update-readme- Open the project using your IDE or editor.
- Make your changes and save the files.
-
Stage the changes:
git add . -
Commit with a message:
git commit -m "Describe what you changed"
git push origin feature/your-branch-name-
Go to your forked repository on GitHub.
-
Click Compare & pull request.
-
Make sure:
- Base repository:
fialuxe/SRS - Base branch:
main
- Base repository:
-
Write a short description and click Create Pull Request.
✅ Done! If you followed these steps, your Pull Request was created successfully.