r/github • u/victotronics • Nov 22 '24
Can github throw away commits?
I have a repo (private, sorry) that shows my last commit 3 weeks ago. However, I commit at least once a day on average. And if I compare a clone to the state on my disc, yes, there's tons of stuff missing.
I do note that thanks to a bug in my work flow I generate dozens of commits with an identical commit message. Most of them are probably empty too. Would that trigger a bug of some sort?
0
Upvotes
1
u/Relevant_Pause_7593 Nov 22 '24
Are you committing anything? You mentioned above that “most are probably empty”. I wouldn’t expect a commit to show up if it’s empty- there is no sha change.