NAME

git-cpan-squash - Combine multiple commits into one patch

SYNOPSIS

% git cpan-squash temp_submit_branch

% git ci -m "This is my message"

% git cpan-sendpatch --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 --squish 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.