r/git • u/TachikawaKan5241 • 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
View all comments
Show parent comment
2
u/symbiatch 18h ago
Why not?
Are you confusing commits with pushing to others? I can make commit after each character if I want. Yet what is pushed will be very different. And what is merged is again different.
These are entirely different concepts. Don’t confuse them.