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 <firstname.lastname@example.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.