1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update wording on how to issue a pull request [ci skip]

Updated the wording https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#issue-a-pull-request to better match the current state of Github's UI. I also made it more explicit which branch new PRs should go to, based on some feedback [here](https://github.com/rails/rails/pull/42412#issuecomment-856004305).
This commit is contained in:
Alex Ghiculescu 2021-06-07 10:02:25 -05:00 committed by GitHub
parent ed3612e6d4
commit 3a640f43d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -608,15 +608,15 @@ $ git push fork my_new_branch
### Issue a Pull Request
Navigate to the Rails repository you just pushed to (e.g.
https://github.com/your-user-name/rails) and click on "Pull Requests" seen in
the right panel. On the next page, press "New pull request" in the upper right-hand corner.
https://github.com/your-user-name/rails) and click on "Pull Requests" in the top bar (just above the code).
On the next page, click "New pull request" in the upper right-hand corner.
Click on "Edit", if you need to change the branches being compared (it compares
"main" by default) and press "Click to create a pull request for this
comparison".
The pull request should target the base repository `rails/rails` and the branch `main`.
The head repository will be your work (`your-user-name/rails`), and the branch will be
whatever name you gave your branch. Click "create pull request" when you're ready.
Ensure the changesets you introduced are included. Fill in some details about
your potential patch, including a meaningful title. When finished, press "Send
your potential patch, using the pull request template provided. When finished, click "Create
pull request". The Rails core team will be notified about your submission.
### Get some Feedback
@ -637,7 +637,7 @@ list](https://discuss.rubyonrails.org/c/rubyonrails-core) for this. You can also
leave another comment on the pull request.
While you're waiting for feedback on your pull request, open up a few other
pull requests and give someone else some! I'm sure they'll appreciate it in
pull requests and give someone else some! They'll appreciate it in
the same way that you appreciate feedback on your patches.
Note that your pull request may be marked as "Approved" by somebody who does not