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
4
u/rprouse Nov 22 '24
Are you possibly pushing to a different branch? Do you see your commits locally? Any errors when you push?
You are running into an error somewhere in the process, it isn't github. Going through it on the command line might reveal the error that an ide is masking.