Skip to content

Commit 478db89

Browse files
thePunderWomanalxhub
authored andcommitted
docs: Add new PR response templates (#47515)
This adds new PR template responses for dealing with rebases and commit header changes. PR Close #47515
1 parent aef8d0b commit 478db89

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/SAVED_REPLIES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,15 @@ Hello, we reviewed this issue and determined that it doesn't fall into the bug r
7171
7272
If you are wondering why we don't resolve support issues via the issue tracker, please [check out this explanation](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#question).
7373
```
74+
75+
## Angular: Commit Header
76+
```
77+
It looks like you need to update your commit header to match our requirements. This is different from the PR title. To update the commit header, use the command `git commit --amend` and update the header there.
78+
79+
Once you've finished that update, you will need to force push using `git push [origin name] [branch name] --force`. That should address this.
80+
```
81+
82+
## Angular: Rebase and Squash
83+
```
84+
Please rebase and squash your commits. To do this, make sure to `git fetch upstream` to get the latest changes from the angular repository. Then in your branch run `git rebase upstream/main -i` to do an interactive rebase. This should allow you to fixup or drop any unnecessary commits. After you finish the rebase, force push using `git push [origin name] [branch name] --force`.
85+
```

0 commit comments

Comments
 (0)