1GIT-CPAN-SQUASH(1) User Contributed Perl Documentation GIT-CPAN-SQUASH(1)
2
3
4
6 git-cpan-squash - Combine multiple commits into one patch
7
9 % git cpan-squash temp_submit_branch
10
11 % git ci -m "This is my message"
12
13 % git cpan-sendpatch --compose
14
15 # delete the branch now that we're done
16 % git checkout master
17 % git branch -D temp_submit_branch
18
20 This command creates a new branch from "cpan/master" runs "git merge
21 --squash" against your head revision. This stages all the files for the
22 branch and allows you to create a combined commit in order to send a
23 single patch easily.
24
25
26
27perl v5.12.0 2010-05-02 GIT-CPAN-SQUASH(1)