Is it possible to bind commits to each other to make them atomic in terms of bisect, cherry-pick, revert, etc?

前端 未结 2 2017
时光取名叫无心
时光取名叫无心 2021-02-13 09:50

Consider the case of a bug fix which causes a small change in the expected output, forcing a minor change in the test suite. It is extremely convenient to have both changes in

2条回答
  •  猫巷女王i
    2021-02-13 10:33

    If you like, you can keep them in separate commits in a development branch. After each pair of commits, merge into the feature branch. This should give you the ability to do either way.

提交回复
热议问题