forked from ArduPilot/ardupilot_wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dc7665
commit 0729da5
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,12 @@ Clone a repository | |
|
||
Developers should clone the main `ArduPilot repository <https://github.com/ArduPilot/ardupilot>`__ (if they simply want to download and compile the latest code) or their own :ref:`fork <git-fork>` (if they want to make changes to the source code and potentially submit changes back). | ||
|
||
Instructions for commonly used tools are below but whichever tool is used, the URL for the source repo will be required. This can be found on the right side of the screen on each Github repository home page but in general the URL is: | ||
Instructions for commonly used tools are below but whichever tool is used, the URL for the source repo will be required. This can be found on the right side of the screen on each Github repository home page but in general the URL is: | ||
|
||
- ``https://github.com/ArduPilot/ardupilot.git`` for the main ardupilot repo | ||
- ``https://github.com/your-github-account/ardupilot`` for your :ref:`fork <git-fork>` of the ardupilot repo | ||
.. note:: GitHub no longer supports cloning using https. Use an ssh address to create your clone. Add an ssh key to your GitHub profile for each computer that will be used for ArduPilot development. | ||
|
||
- ``[email protected]:ArduPilot/ardupilot.git`` for the main ardupilot repo | ||
- ``[email protected]:your-github-account/ardupilot.git`` for your :ref:`fork <git-fork>` of the ardupilot repo | ||
|
||
.. figure:: ../images/APM-Git-Github-Clone.jpg | ||
|
||
|
@@ -28,7 +30,7 @@ Cloning with the command line | |
|
||
:: | ||
|
||
git clone --recurse-submodules https://github.com/your-github-userid/ardupilot | ||
git clone --recurse-submodules git@github.com:your-github-userid/ardupilot | ||
cd ardupilot | ||
|
||
.. youtube:: kAli2y2-n-M | ||
|
@@ -37,7 +39,7 @@ Cloning with the command line | |
|
||
:: | ||
|
||
git clone --recurse-submodules https://github.com/ArduPilot/ardupilot | ||
git clone --recurse-submodules git@github.com/ArduPilot/ardupilot | ||
cd ardupilot | ||
|
||
Cloning with the GitHub GUI (Windows or MAC) | ||
|