git commit frequency

前端 未结 11 1801
后悔当初
后悔当初 2020-11-29 21:06

Since i switched to git from svn i started make more commits every time i recompile and my tests pass i commit my work. In the end i end up committing function by function.<

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 21:41

    I also track some other projects using git like emacs,wordpress etc. I see that they do not commit that often.

    One of the nice things about git is that you can commit as often as you like, and then when you want to do an upstream commit you can squash several related commits together into one nice clean commit using git-rebase.

提交回复
热议问题