Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,16 @@ If we suggest changes, then:
* Commit your changes to your branch (e.g. `my-fix-branch`).
* Push the changes to your GitHub repository (this will update your Pull Request).

If the PR gets too outdated we may ask you to rebase and force push to update the PR:

```shell
git rebase main -i
git push origin my-fix-branch -f
```

_WARNING: Squashing or reverting commits and force-pushing thereafter may remove GitHub comments on code that were previously made by you or others in your commits. Avoid any form of rebasing unless necessary.
> [!NOTE]
> If your PR becomes outdated, we may ask you to update it by rebasing onto the latest `main` branch.
>
>> [!WARNING]
>> Squashing, reverting, or force-pushing commits can remove GitHub comments tied to those commits.
>
>```shell
>git rebase -i main
>git push origin my-fix-branch --force-with-lease
>```

That's it! Thank you for your contribution!

Expand Down
Loading