- Git Installed: Ensure you have Git installed on your computer.
- GitHub Account: Make sure you have a GitHub account.
- Go to the repository you want to contribute to.
- Click on the "Fork" button in the upper right corner. This will create a copy of the repository under your GitHub account.
- Clone the forked repository to your local machine:
git clone your-cloned-repo-link
- Navigate into the cloned repository:
cd arc
Add the original repository as a remote named 'upstream':
git remote add upstream https://github.com/kwspringkle/arc.git
Verify the new remote 'upstream':
git remote -v
git add .
git commit -m "Description"
Fetch the latest changes:
git fetch upstream
Merge the latest changes to your branch:
git merge upstream/main
Push your changes to the forked repository:
git push origin your-branch
After commit to your forked repository, create a pull request. Once your pull request is approved, it will be merged into the main branch of the original repository
- Gitのインストール: コンピュータにGitがインストールされていることを確認してください。
- GitHubアカウント: GitHubアカウントを持っていることを確認してください。
- 貢献したいリポジトリに移動します。
- 右上隅にある「Fork」ボタンをクリックします。これにより、あなたのGitHubアカウント下にリポジトリのコピーが作成されます。
- フォークしたリポジトリをローカルマシンにクローンします:
git clone your-cloned-repo-link
- クローンしたリポジトリに移動します:
cd arc
元のリポジトリを'upstream'という名前のリモートとして追加します:
git remote add upstream https://github.com/kwspringkle/arc.git
新しいリモート'upstream'を確認します:
git remote -v
git add .
git commit -m "Description"
最新の変更をフェッチします:
git fetch upstream
最新の変更をあなたのブランチにマージします:
git merge upstream/main
変更をフォークしたリポジトリにプッシュします:
git push origin your-branch
フォークしたリポジトリにコミットした後、プルリクエストを作成します。プルリクエストが承認されると、元のリポジトリのメインブランチにマージされます。