Skip to content

Commit

Permalink
doc(contributing): Recommend --interactive for git rebase --autosquash
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andybalaam committed Oct 16, 2024
1 parent 79798a9 commit efc2e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efc2e2c

Please sign in to comment.