3 ms·
I usually squash my branches to single commits in the end and write a nice message then. There are times when I don’t do this. For example, yesterday I was movi
by CogitoCogito 5y ago
I usually squash my branches to single commits in the end and write a nice message then. There are times when I don’t do this. For example, yesterday I was moving existing code to a separate project and I first committed the original version and then made necessary changes in my next commit. This made it clear where things differed from the original.
Overall I think commits that land in main should be worthy of landing in main. Random crap you tried isn’t important. Larger self-contained changes are.