r/git • • 1d ago

How often should I commit my changes?

I am fairly new to programming and git and I was just wondering how often I should commit my changes both locally and to Github? I feel like I'm doing it to often

9 Upvotes

79 comments sorted by

View all comments

Show parent comment

3

u/jorgb 1d ago

It was meant that if you don't use git properly, why use git versioning at all, you might just go back to zipping your files as a backup. It wasn't meant seriously

1

u/BarneyLaurance 8h ago

Zipping manually is annoying but if you don't care about distinct versions and identifiable changes each with a set purpose you could use an automatic backup tool instead of git.