Yanick Champoux > Git-CPAN-Patch-0.1.7 > git-cpan-squash

Download:
Git-CPAN-Patch-0.1.7.tar.gz

Annotate this POD

View/Report Bugs

Source   Latest Release: Git-CPAN-Patch-0.2.1

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 --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.