How to Create Clean Commits Easily

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 2024
  • In this video you will learn how to create clean commits easily using SmartGit. If you want to learn more about SmartGit follow this link: www.syntevo.com/smartgit/
    The standard window in this episode will only be present in upcoming version 22.1. For more details see www.syntevo.com/smartgit/prev...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2

  • @IanJeffray
    @IanJeffray 2 ปีที่แล้ว

    I advise against anyone performing this sort of "commit time changes" to code, because it means you've not actually tested the unique set of changes being committed - too easy to make a mistake and commit something that's not operationally correct or may not even compile.

    • @smartgit
      @smartgit  2 ปีที่แล้ว +1

      If you are faced with a working tree which already contains a mixture of multiple commits, your options are limited. The workflow in the video is easy and safe with respect to ensuring that you will *finally* have committed everything you had in your working tree. Nevertheless, we agree that you should check the individual commits; with SmartGit you can do that using "Modify or Split Commit" with "Modify All" option, then step through all commits and compile/run tests.