Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e8e98cc

Browse filesBrowse files
committed
Minor improvements for the contribution guide
1 parent 79b59a0 commit e8e98cc
Copy full SHA for e8e98cc

File tree

Expand file treeCollapse file tree

1 file changed

+9
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-7
lines changed

‎contributing/documentation/overview.rst

Copy file name to clipboardExpand all lines: contributing/documentation/overview.rst
+9-7Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ this value accordingly):
9090
.. code-block:: terminal
9191
9292
$ cd projects/
93-
$ git clone git://github.com/<YOUR GITHUB USERNAME>/symfony-docs.git
93+
$ git clone git://github.com/YOUR-GITHUB-USERNAME/symfony-docs.git
9494
9595
**Step 3.** Add the original Symfony docs repository as a "Git remote" executing
9696
this command:
@@ -106,8 +106,8 @@ your project:
106106
.. code-block:: terminal
107107
108108
$ git remote -v
109-
origin git@github.com:<YOUR GITHUB USERNAME>/symfony-docs.git (fetch)
110-
origin git@github.com:<YOUR GITHUB USERNAME>/symfony-docs.git (push)
109+
origin git@github.com:YOUR-GITHUB-USERNAME/symfony-docs.git (fetch)
110+
origin git@github.com:YOUR-GITHUB-USERNAME/symfony-docs.git (push)
111111
upstream https://github.com/symfony/symfony-docs.git (fetch)
112112
upstream https://github.com/symfony/symfony-docs.git (push)
113113
@@ -158,7 +158,7 @@ forked repository and ``improve_install_chapter`` is the name of the branch you
158158
created previously.
159159

160160
**Step 7.** Everything is now ready to initiate a **pull request**. Go to your
161-
forked repository at ``https//github.com/<YOUR GITHUB USERNAME>/symfony-docs``
161+
forked repository at ``https//github.com/YOUR-GITHUB-USERNAME/symfony-docs``
162162
and click on the **Pull Requests** link located in the sidebar.
163163

164164
Then, click on the big **New pull request** button. As GitHub cannot guess the
@@ -223,12 +223,14 @@ contribution to the Symfony docs:
223223
224224
# ... do your changes
225225
226-
# add and commit your changes
227-
$ git add xxx.rst # (optional) only if this is a new content
226+
# (optional) add your changes if this is a new content
227+
$ git add xxx.rst
228+
229+
# commit your changes and push them to your fork
228230
$ git commit xxx.rst
229231
$ git push origin my_changes
230232
231-
# go to GitHub and create the Pull Request
233+
# ... go to GitHub and create the Pull Request
232234
233235
# (optional) make the changes requested by reviewers and commit them
234236
$ git commit xxx.rst

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.