Never Manually Split a Giant Commit Again

Published: 22 February 2026
on channel: Dev Leonardo
260
8

Ever end up with a ton of staged files and need to split them into multiple commits? I built a custom GitHub Copilot agent that scans your changes and groups them into meaningful commits automatically. Here's a quick demo of the full flow — branch creation, commit grouping, and git operations in one go.

Here's the agent code: https://gist.github.com/Balastrong/10...

Feel free to suggest improvements!

#githubcopilot #git #vscode
_______________________________
Subscribe to my newsletter: https://leonardomontini.dev/newsletter
Support my work: https://github.com/sponsors/Balastrong ❤️

Hit like and subscribe for more content! :D

You can also follow me on the other platforms:
Discord Community:   / discord  
Twitter:   / balastrong  
dev.to: https://dev.to/balastrong
GitHub: https://github.com/Balastrong
Home: https://leonardomontini.dev/
TikTok:   / balastrong  
Instagram:   / devbalastrong  

_______________________________
TIMESTAMPS
0:00 Introduction
0:37 The committer agent
2:07 Custom prompt setup
2:35 Demo: the full flow
4:30 Wrap-up and Copilot CLI


On this page of the site you can watch the video online Never Manually Split a Giant Commit Again with a duration of hours minute second in good quality, which was uploaded by the user Dev Leonardo 22 February 2026, share the link with friends and acquaintances, this video has already been watched 260 times on youtube and it was liked by 8 viewers. Enjoy your viewing!