Skip to content

Add Squash By Day Command#398

Merged
JackPlowman merged 2 commits into
mainfrom
daily-squash
Jun 14, 2026
Merged

Add Squash By Day Command#398
JackPlowman merged 2 commits into
mainfrom
daily-squash

Conversation

@JackPlowman

Copy link
Copy Markdown
Owner

Pull Request

Description

This pull request introduces a new script to automate squashing Git commits by day and adds a convenient shell alias for it. The main goal is to simplify the process of rebasing a branch and combining its commits into one commit per day, making history cleaner and easier to review.

Key changes:

New Git workflow automation:

  • Added the squash_by_day.sh script in development-configuration/scripts/, which rebases the current branch onto a base branch and squashes commits by author date into daily commits. The script ensures a linear history, requires a clean worktree, and provides helpful usage instructions and error handling.

Shell configuration improvement:

  • Added an alias squash_by_day to .zshrc for easy access to the new script, allowing quick execution from the command line.

@JackPlowman JackPlowman merged commit 3809272 into main Jun 14, 2026
3 checks passed
@JackPlowman JackPlowman deleted the daily-squash branch June 14, 2026 20:05
@github-actions github-actions Bot added shell Pull requests that update Shell code size/M Medium Pull Request labels Jun 14, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shell Pull requests that update Shell code size/M Medium Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant