Earlier quoted context omitted.
It was clearly a natural stopping point in that you stopped working on the code for the amount of time it took to switch. There's nothing wrong with encoding natural stopping points in your commit history, even when those natural stopping points don't always align with semantic stopping points (features/fixes/completed tasks). Sometimes those natural stopping points even encode data you might miss later: sometimes in…
I don't make these commits often either, they exist almost exclusively to move code across machines. Actually, I commit much less frequently than most people, keeping most of my work in the staging area for long periods of time until it's ready to be committed. Probably a bad strategy, but it keeps my code clean…
Fortunately, I don't squash my commits
331–333 of 333 posts
Re: Fortunately, I don't squash my commits
#332Re: Fortunately, I don't squash my commits
#333Earlier quoted context omitted.
I always squash my commits and at my current place that is even enforced via phabricator
Phabricator has a quite different (I would say better, others would say worse) development flow philosophy to GitHub/PRs. Phabricator’s preferred model, which is heavily influenced by Facebook, is to forgo feature branches entirely and just stack many small changes on top of each other, landing as and when you want (this doesn’t preclude you working on feature branches locally, of course, because Phabricator doesn’t…
It's called ghstack (https://github.com/ezyang/ghstack)
If you want to learn more you can email me at ericyu3@gmail.com. Also happy to help you get it up and running - just put some time on my calendar at https://calendly.com/ericyu3/15min