docbrown/docs/getting-started/forking.md
2019-10-03 16:38:28 -04:00

28 lines
1 KiB
Markdown

---
title: Forking the Repo
---
# Forking the repository
The first step in contributing to any Open Source project on GitHub is
[forking][forking] so that you can create
[Pull Requests][pull_requests]. If you're not familiar with the idea of forking
a repository, [GitHub has a super simple tutorial][forking_tutorial]!
If you're ready to get started, [fork DEV's repository][fork_dev]!
Once you've got a fork on GitHub, you can clone your fork to run the project
locally:
```shell
git clone https://github.com/<your-username>/dev.to.git
```
As time goes on, you may need to refresh your fork. If you have trouble with
that, you can read about [keeping a fork caught up on DEV][refresh_your_fork]!
[forking]: https://help.github.com/en/articles/fork-a-repo
[fork_dev]: https://github.com/thepracticaldev/dev.to/fork
[forking_tutorial]: https://guides.github.com/activities/forking/
[pull_requests]: https://help.github.com/en/articles/about-pull-requests
[refresh_your_fork]: https://dev.to/jacobherrington/a-fool-proof-way-to-keep-your-fork-caught-up-in-git-2e2e