so recently I have been using webpack to build some projects and learn web developement. However, I keep getting these errors
{error: object file .git/objects/22/5b00bf63c844d2f7602b1c7f2e003f826e698e is empty
error: object file .git/objects/22/5b00bf63c844d2f7602b1c7f2e003f826e698e is empty
error: object file .git/objects/22/5b00bf63c844d2f7602b1c7f2e003f826e698e is empty
fatal: bad object HEAD} when I try to commit. I guess that something in my repo has been corrupted(not sure acually) but i have no idea how to solve it.
Currently, I have tried deleting my local repo and cloning it again as well as following the steps in this post git status shows fatal: bad object HEAD . However, the issue always comes back the next day. Any advice would be greatly appreciated. Thanks!
wei bin lau is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.