Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 4e8bef8

Browse files
jagmeetbjelbourn
authored andcommitted
docs(pull-requests): add link to Github's Amending guide (#11498)
* add link to amend guide * replace suggested rebase commands with amend fixes #11473
1 parent 6b29548 commit 4e8bef8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/PULL_REQUESTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ Before you submit your pull request consider the following guidelines:
5050

5151
* Re-run the AngularJS Material test suite to ensure tests are still passing.
5252

53-
* Rebase your branch to **squash your commits** and **force push** to your GitHub repository
53+
* Commit your new changes by [ammending your original commit](https://help.github.com/articles/changing-a-commit-message/#amending-older-or-multiple-commit-messages) to **squash your commits**, then **force push** to your GitHub repository
5454
(this will update your Pull Request):
5555

5656
```shell
57-
git rebase master -i
58-
git push -force
57+
git commit -a --amend
58+
git push --force origin wip/my-fix-branch
5959
```
6060

6161
<br/>

0 commit comments

Comments
 (0)