This is an automated email from the ASF dual-hosted git repository. protobits pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 341f4962267fa2b0b7763dbedaa680aea4d15590 Author: Adam Feuer <[email protected]> AuthorDate: Fri Sep 4 14:31:31 2020 -0700 PR feedback changes --- Documentation/contributing/making-changes.rst | 31 +++++---------------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/Documentation/contributing/making-changes.rst b/Documentation/contributing/making-changes.rst index 682a7bd..9fd3254 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 <https://github.com/apache/incubator-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 <your forked incubator-nuttx project clone url> + $ git clone <your forked incubator-nuttx project clone url> $ 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 <your forked incubator-nuttx-apps project clone url> + $ git clone <your forked incubator-nuttx-apps project clone url> $ 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:
