howto:github-forking
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:github-forking [2022/03/28 21:02] – Wulf Rajek | howto:github-forking [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| < | < | ||
| - | Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, | + | Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, |
| - | In an attempt to coallate | + | In an attempt to collate |
| ## Creating a Fork | ## Creating a Fork | ||
| - | Just head over to the GitHub page and click the " | + | Just head over to the GitHub page and click the " |
| ```shell | ```shell | ||
| # Clone your fork to your local machine | # Clone your fork to your local machine | ||
| - | git clone git@github.com:USERNAME/FORKED-PROJECT.git | + | git clone https://github.com/USERNAME/ |
| ``` | ``` | ||
| Line 20: | Line 20: | ||
| ```shell | ```shell | ||
| + | cd PROJECT-NAME | ||
| # Add ' | # Add ' | ||
| git remote add upstream https:// | git remote add upstream https:// | ||
| Line 167: | Line 168: | ||
| * [GitHub - Checking Out a Pull Request](https:// | * [GitHub - Checking Out a Pull Request](https:// | ||
| </ | </ | ||
| + | |||
| + | https:// | ||
howto/github-forking.1648497773.txt.gz · Last modified: (external edit)