Git::CP...::Squash(3)

πŸ“¦
version 2.5.0 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Git::CPAN::Patch::Command::Squash β€” bestie, this is the one that takes a whole pile of commits and squishes them into one (1) single patch ✨


🌸 VERSION 🌸

version 2.5.0


πŸŽ€ 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 πŸ¦‹

okay so here's the tea β˜• β€” this command makes a brand new branch off cpan/master, and then it runs git merge --squash against your head revision. the way it does that? iconic. πŸ’…

that stages all the files for the branch, which is literally the whole point: it lets you make one (1) combined commit so you can send off a single patch, easy peasy, no cap 🫢

so instead of yeeting a chaotic little swarm of commits at the maintainers, you show up with one clean, main-character patch. obsessed.

πŸ‘‘ AUTHOR πŸ‘‘

Yanick Champoux <yanick@cpan.org> 🌈


This software is copyright (c) 2022, 2021, 2018, 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. fr fr πŸ“


and that's the whole page, bestie β€” this is Git::CPAN::Patch::Command::Squash from perl v5.42.0, dated 2025-07-25 (yes the manual itself says Git::CP...::Squash(3) because even manpages gotta abbreviate sometimes πŸ’€). mwah, go squash those commits πŸ’–βœ¨

πŸ“¦ where this page comes from