Introducing Operate
Now you can ask lumen for git commands just by describing your query.
Example
Input
lumen operate "squash the last 3 commits into 1 with the message 'squashed commit'"Output
--- What this will do ---
This command resets the last 3 commits softly to the previous state (keeping changes staged), and then creates a new commit with the message 'squashed commit'.
Warning: Be cautious as this rewrites history. Make sure not to perform this on shared branches to avoid disrupting other collaborators.
git reset --soft HEAD~3 && git commit -m "squashed commit" [y/N]