- 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 arcAdd the original repository as a remote named 'upstream':
git remote add upstream https://github.com/kwspringkle/arc.gitVerify the new remote 'upstream':
git remote -vgit add .
git commit -m "Description"Fetch the latest changes:
git fetch upstreamMerge the latest changes to your branch:
git merge upstream/mainPush your changes to the forked repository:
git push origin your-branchAfter 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 -vgit add .
git commit -m "Description"最新の変更をフェッチします:
git fetch upstream最新の変更をあなたのブランチにマージします:
git merge upstream/main変更をフォークしたリポジトリにプッシュします:
git push origin your-branchフォークしたリポジトリにコミットした後、プルリクエストを作成します。プルリクエストが承認されると、元のリポジトリのメインブランチにマージされます。