doc(contributing): Recommend --interactive for git rebase --autosquash

Older versions of Git require --interactive when we supply --autosquash,
and it's also probably a good idea generally.

See https://stackoverflow.com/a/77663575/22610 for more info.
This commit is contained in:
Andy Balaam
2024-10-16 10:21:05 +01:00
committed by Andy Balaam
parent 79798a9de9
commit efc2e2c4c8

View File

@@ -193,7 +193,7 @@ requested.
commits, the [autosquash] option can help with this.
```bash
git rebase main --autosquash
git rebase main --interactive --autosquash
```
[fixup]: https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---fixupamendrewordltcommitgt