Add corrupted or deleted commit to remote git server

Add corrupted or deleted commit to remote git server

It seems that some files got corrupted on my remote git server and I'm getting the following error when I try to clone the repo to a new system.

It seems that some files got corrupted on my remote git server and I'm getting the following error when I try to clone the repo to a new system.

remote: error: Could not read c168e82dd62c0cdbf3ea7c3be3a84218a12c8a03
remote: fatal: Failed to traverse parents of commit 02d8c9217333d89afd61da1788fa82329b692610
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header

When I run a git fsck --name-objects:

broken link from  commit 02d8c9217333d89afd61da1788fa82329b692610 (~17)
              to  commit c168e82dd62c0cdbf3ea7c3be3a84218a12c8a03 (~18)

I have a local copy of the repo that doesnt have the error, is there a way to just copy the missing or corrupted files?

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Git It? How to use Git and Github

Learn how to use Git and Github 🐙🐱 Contributing to open-source is satisfying on many levels. Not only does it validate your skills for recruiters, but it leads to higher quality software that empowers developers to build better products. But submitting your first pull request on GitHub can be intimidating. The goal of this guide is to give you a clear set of steps for contributing any OS project

Git Tutorial For Beginners - Git Full Course

In this Git tutorial for beginners will help you learn about the most popular source code management tool used in DevOps. First, you will understand what DevOps is with the help of a short animated video. Then, you will see an introduction to DevOps. You will understand how to install Git on windows, followed by Git Tutorial, along with the hands-on demo. You will get an idea about the various Git commands used for the project files. Finally, you will get learn some of the most important Git interview questions that you might face in any DevOps interview