From efc2e2c4c8d8abe8a0ac49ca14252a76f67bac9e Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Wed, 16 Oct 2024 10:21:05 +0100 Subject: [PATCH] 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. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9e3313cd9b5..0d35c9b33aa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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