Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] introduce Squash Bot #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

trisdoan
Copy link
Contributor

@trisdoan trisdoan commented Dec 25, 2024

Context

  • During migration process, we sometimes forget (or leave out intentionally 😋) to clean commit history
  • Purpose of this PR is to ease the process with interactive SquashCommit Bot

This change

  • Introduce SquashCommitBot, automatically run after pre-commit hook (except non_interactive or dry_run mode)
  • Replace editor during interactive rebase with custom bash script, with GIT_SEQUENCE_EDITOR and GIT_EDITOR

Result

oca_port_squashbot.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant