Re:Squash your commits
by forrestthewoods on Monday April 04, 2016 @12:17PM
(#11423058)
I've never tried this. But it looks like if you run "p4 diff -du file" it creates a patch that could be pastebinned.
https://www.perforce.com/perforce/r14.2/manuals/cmdref/p4_di...
Branching still sucks in P4. But if it improves your work flow at all I figured it's worth mentioning.
I know, and we use this sometimes.
It's just not as easy as pushing to a dev branch in Git creating a patch with "git am" and emailing/copy-pasting to a pastebin or whatever.
Thanks for sharing your point of view and making a very civilized discussion from obviously differing opinions :)