I’m curious if I do this more or less than others. I usually share my code every day but only send all my commits at once.
I share my code every time I commit
I try to be careful. Once I didn’t share on a Friday, and my computer crashed over the weekend. I lost a whole day of work.
Kiran said:
I share my code every time I commit
I try to be careful. Once I didn’t share on a Friday, and my computer crashed over the weekend. I lost a whole day of work.
That would drive me crazy
I share whenever I commit.
Usually at the end of my workday or coding session.
I share every day. This year I’ve made 813 contributions haha
Nico said:
I share every day. This year I’ve made 813 contributions haha
That’s impressive. I cleaned out a lot of old repos, so my contributions decreased.
Nico said:
I share every day. This year I’ve made 813 contributions haha
That’s impressive. I cleaned out a lot of old repos, so my contributions decreased.
I should do that too. To answer your question, I share a few times in the evening. Right now, I’m just a web learner.
Nico said:
I share every day. This year I’ve made 813 contributions haha
That’s impressive. I cleaned out a lot of old repos, so my contributions decreased.
I don’t think that would change contributions.
@Storm
Actually, it does. When you delete a repo, the commits from that repo won’t count towards your total contributions anymore. So if you push commits with a backdate, they will show up as if you made those commits that day.
I share every commit or two. One time, my code editor lost two days of work because I didn’t share my commit, and I had to start over.
Teal said:
I share every commit or two. One time, my code editor lost two days of work because I didn’t share my commit, and I had to start over.
How did your code editor lose your commits? Couldn’t you recover them using the reflog?
Pretty much every time I commit; if not, I do it within about an hour.
I should share more often. I usually finish my pull request, review, commit, then share. I usually work solo, so reviewing my own changes is crucial and easier when it’s local.
Every day, I make a lot of small commits to show I’m working on things. Then I rebase them later for a cleaner structure.
At least once a day. I commit every time I’m at a safe point I might want to return to. Typically, I share it at that point since it’s safe and quick.
Also, my teams usually squash commits when we merge branches.
How often I share depends on how many meetings or code reviews I have in a day.
Some days none, some days 10 or more.
I hold off on sharing commits until I hit a good stopping point, whether that’s finishing part of a major task, needing to backtrack, or taking a break.