diff --git a/Documentation/contributing/making-changes.rst b/Documentation/contributing/making-changes.rst index 682a7bd8a7c..9fd32545877 100644 --- a/Documentation/contributing/making-changes.rst +++ b/Documentation/contributing/making-changes.rst @@ -29,7 +29,7 @@ Here's how to do it: sign up. -#. Fork the Project +#. Fork the Projects Visit both these links and hit the Fork button in the upper right of the page: @@ -37,33 +37,14 @@ Here's how to do it: * `NuttX Apps `_ -#. Change the Git Remotes +#. Clone the Repositories - The git repositories in your project are currently connected to the official NuttX repositories, but you don't - have permission to push software there. But you can push them to your forks, and from there create Pull Requests - if you want to send them to the NuttX project. - - First, remove the current remote, ``origin`` (we'll add it back later): - - .. code-block:: bash - - $ cd nuttx/ - $ # display the remote - $ git remote -v - - You should see something like this: - - .. code-block:: bash - - origin https://github.com/apache/incubator-nuttx.git - - Now, on the GitHub web page for your forked ``incubator-nuttx`` project, copy the clone url – get it by hitting the + On the GitHub web page for your forked ``incubator-nuttx`` project, copy the clone url – get it by hitting the green ``Clone or Download`` button in the upper right. Then do this: .. code-block:: bash - $ git remote rm origin - $ git remote add origin + $ git clone $ git remote add upstream https://github.com/apache/incubator-nuttx.git Do the same for your forked ``incubator-nuttx-apps`` project: @@ -71,11 +52,9 @@ Here's how to do it: .. code-block:: bash $ cd ../apps - $ git remote rm origin - $ git remote add origin + $ git clone $ git remote add upstream https://github.com/apache/incubator-nuttx-apps.git - #. Create a Local Git Branch Now you can create local git branches and push them to GitHub: