git commit frequency

前端 未结 11 1804
后悔当初
后悔当初 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:32

    It really depends.

    What I do is I commit locally often, as it sounds like you're doing, but I only push my changes when I've accrued several influential ones.

    This ensures that I save my work, but it also doesn't clutter the repo for other users.

提交回复
热议问题