Git::CPAN::Patch::Command::Squash - Combine multiple commits into one patch
% git-cpan squash temp_submit_branch % git commit -m "This is my message" % git-cpan send-patch --compose # delete the branch now that we're done % git checkout master % git branch -D temp_submit_branch
This command creates a new branch from
git merge --squash against your head revision. This stages all the files for the branch and allows you to create a combined commit in order to send a single patch easily.
Yanick Champoux <email@example.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Yanick Champoux.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.