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 3d04234 commit 8dc42d7
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 8dc42d7

Please sign in to comment.