Git::CPAN::Patch::Command::Squash - Combine multiple commits into one patch
version 2.3.2
% 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 cpan/master runs 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.
cpan/master
git merge --squash
Yanick Champoux <yanick@cpan.org>
This software is copyright (c) 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009 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.
To install Git::CPAN::Patch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::CPAN::Patch
CPAN shell
perl -MCPAN -e shell install Git::CPAN::Patch
For more information on module installation, please visit the detailed CPAN module installation guide.