from Hacker News

Why should I commit frequently?

by cdev on 8/9/20, 4:53 AM with 1 comments

  • by cdev on 8/9/20, 4:58 AM

    Importance of committing frequently ?

    - Having periodic checkpoints because of small commits helps in debugging and makes the history cleaner

    - Small commits make collaboration better. If you commit and push the changes frequently, your team-mates will be able to integrate with your codebase frequently(sometimes even prevent merge conflicts)

    - Small commits encourages us to think iteratively