Re:Oh shit, git: Getting myself out of bad situations
by swalsh on Tuesday December 19, 2017 @10:21AM
(#15960776)
It was actually quite clean, and the environment was extremely stable. The trick is, every commit was "self-contained". Reverting it would go to another previous stable version. Creating a self-contained commit can be done many ways, and rebase is one common tool used to do it. Another is the use of git merge with --squash and a cherry-pick.
[ Parent
| on HN ]
There are no comments on this comment yet.