NAME

Git::CPAN::Patch::Command::Squash - Combine multiple commits into one patch

VERSION

version 2.3.2

SYNOPSIS

% 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

DESCRIPTION

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.

AUTHOR

Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

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.