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?

git

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Git Rebase Tutorial and Comparison with Git Merge

In this article, I will explain to you a few differences between git merge, git rebase, and the git interactive rebase.I will tell a bit about what pros...

Basic Git Commands you need to Master

All basic commands you need to know to run git .Basic Git Commands you need to Master

Making a Git Push using Git Bash

Follow us on Twitter and instagram https://twitter.com/startdotng https://twitter.com/hnginternship https://instagram.com/hnginternship

Get More out of Git with Git Aliases

One of my favorite things to do as a developer is share tips. Here are my best custom Git aliases

Git Working Areas,Git ideology

Hello all, in this blog we will obtain an understanding of git internals. We will understand how our content moves within a git system. This will introduce us t