Forking the repositoryΒΆ

../_images/git-fork-clone.png

If you are working towards submitting code back to the main ArduPilot repo you will want to create your own personal copy of the ArduPilot repository on the GitHub servers. This is called “forking” the repo.

When you fork the ArduPilot repo, the code’s history of changes is preserved and a relationship between the fork and the original is maintained which allows the fork to be updated from the original and for changes to be submitted back to the original.

When your are finished there will be a new repository within your account: //github.com/your-github-userid/ardupilot

This forked repository is what you will clone and work on locally when making changes to the code.