Skip to main content
Filter by
Sorted by
Tagged with
7 votes
0 answers
124 views

With git 2.53.0, I get this new strange behavior: git fsck --full --progress Checking ref database: 100% (1/1), done. Checking object directories: 100% (256/256), done. Checking objects: 123% (46607/...
jean-christophe manciot's user avatar
0 votes
0 answers
77 views

I'm working on migrating my team repo from Bitbucket Server to GitHub but encountered problems with faulty commit data like the list below (result from running git fsck --full) PS D:\Test\jee6.git> ...
Toan Lu's user avatar
  • 1,239
1 vote
0 answers
70 views

I used photorec to recover zlib files from a disk image taken just after a git repository was deleted (instructions here). It recovered many (most?) but not all of the contents of the .git/objects ...
Joseph Garvin's user avatar
-1 votes
2 answers
104 views

I'm not sure where to start. I'm a beginner at git and trying to get the lay of the land. Today I was working on a project and did not commit. My last commit was yesterday. I got on my PC and decided ...
Jayy's user avatar
  • 15
5 votes
1 answer
1k views

I run git gc in a repository and get a fatal error: Enumerating objects: 2382, done. Counting objects: 100% (2382/2382), done. Delta compression using up to 8 threads Compressing objects: 100% (747/...
Joe's user avatar
  • 31.5k
0 votes
0 answers
44 views

I deleted a branch and I was presuming that a certain commit (let's call it C) was no longer reachable. I was able to find the commit in question using git reflog. However, I am puzzled by the fact ...
Marcus Junius Brutus's user avatar
3 votes
1 answer
666 views

I have a git repo that was converted from RCS via CVS many years ago. When I tried to push it to GitHub it was rejected because the initial two commits had bad dates: $ git fsck Checking object ...
John Tang Boyland's user avatar
0 votes
0 answers
56 views

I accidentally deleted a large number of LaTeX files by using git stash instead of git stash -u. I have recovered a bunch of them following the instructions here using the command: git fsck --full --...
Noah Snyder's user avatar
2 votes
1 answer
502 views

I cannot succeed fixing a git broken link. Here is the context : $ git pull Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. ...
SebMa's user avatar
  • 5,013
7 votes
1 answer
555 views

Git's fsck doc talks about "dangling" objects, while the gc doc talks only about "loose objects". There's a strict split. But while skimming a few related SO posts, the terms seem ...
Katrin Leinweber's user avatar
3 votes
1 answer
3k views

I found many interesting posts about git fsck, so I wanted to experiment a little on them. First of all the sources I read before this question: How can I find an unreachable commit hash in a GIT ...
Marco Luzzara's user avatar
1 vote
0 answers
2k views

I executed rm -rf on my working directory and even I interrupted the command immediately execution, I've lost several repositories that were not pushed to the remote (yet). One particular important ...
Mihai's user avatar
  • 498
0 votes
0 answers
255 views

I have just reset --hard back by about 15 or so commits on a branch all the way back to first common parent with master, and deleted all other branches, tags etc on those 15 commits, confirming so ...
asgardus's user avatar
3 votes
1 answer
4k views

1) Problem Description I have several pack files saying unknown object type 0 at offset, and unlike 99% of posts on the web this isn't a local problem but appears in both remote and cloned repos. 2) ...
Sridhar Sarnobat's user avatar
28 votes
6 answers
23k views

My computer shut down suddenly and now the Git repository of the project which I worked on is corrupt. I have Git 2.20.1 installed. I immediately created a backup copy of the project folder to play ...
JJD's user avatar
  • 52.9k
5 votes
2 answers
2k views

I recently tried to import a repository into GitHub (from Bitbucket) and the import was failing. GitHub tech support imformed me that they were seeing "bad date" issues in the repository and that I ...
Tim Long's user avatar
  • 13.9k
2 votes
2 answers
412 views

I have the problem that I copied with an USB driver from my old machine to my new machine a git project. This git project has several commits I didn't push on git remote git repository. During the ...
Michael Burger's user avatar
1 vote
1 answer
1k views

I'm using git in Rubymine. After another commit I opened git push window and saw object file .git/object/55/4d...e6 is emptyunable to read .... instead of the commit name. Running git fsck -full ...
Marat's user avatar
  • 682
0 votes
1 answer
346 views

I used fsck and found that I have some dangling objects, and more than that (in amount) unreachable objects. fsck --lost-found does save the dangling objects as files at the lost-found directory, but ...
Gal Grünfeld's user avatar
0 votes
1 answer
252 views

I have seen many post here on SO about git fatal: the remote end hung up unexpectedly issue but none of them seem to be related to mine. All posts about this error on here are related to RPC, ...
pixel's user avatar
  • 10.8k
4 votes
1 answer
570 views

Assume I recover a Mercurial repository from a broken file system (e.g. bad hard drive), and I want to be sure that this one was not affected. How can I force a self-check in Mercurial? That is, ...
vog's user avatar
  • 26.2k
3 votes
2 answers
2k views

I broke my local git repository by interrupting a git commit with Ctrl+C (two commits back). How can I fix it ? Output of git stash : $ git stash fatal: bad revision 'HEAD' fatal: bad revision 'HEAD'...
SecT0uch's user avatar
22 votes
0 answers
1k views

Let's say I want to write a small helper that allows to append some metadata to a repository in a way that can propagate to clones via refs. Simple example (a git-notes clone prototype that doesn't ...
Tobias Kienzler's user avatar
12 votes
3 answers
3k views

I have the following settings in my global Git configuration: [transfer] fsckobjects = true [fetch] fsckobjects = true [receive] fsckobjects = true These verify that all objects in the ...
Kevin Burke's user avatar
4 votes
1 answer
7k views

Is there a way to remove references to a missing blob or tree from the history? Here is the output of git fsck --full broken link from tree 99fe1a9d46985ca21e88de53a7a290e2b1889722 ...
Ole's user avatar
  • 107
1 vote
2 answers
943 views

I'm trying to look for unreachable commits that use certain file somefile.jsx, say. Can I do that? Or can I look for ones that contain a certain specific in one of the files? The deeper problem I have ...
Ms. Corlib's user avatar
  • 5,233
-1 votes
2 answers
903 views

I have an error in response to git fsck --full which is corrupt loose object '...' on a git server machine. I don't have a local repository. I can't clone. I don't have the object in repo/objects/.....
disgra's user avatar
  • 783
0 votes
0 answers
43 views

I do a git reset --hard HEAD@{1} But I removed some things wrongly. I try solve it git fsck −−lost-found But it no found the "revert" Thanks...
user3854612's user avatar
2 votes
0 answers
5k views

I have just done a git status and it's throwing the following error: fatal: bad object HEAD I have also tried git fsck which gives the following output: Checking object directories: 100% (256/256), ...
V4n1ll4's user avatar
  • 6,129
1 vote
0 answers
408 views

I know about this question. I already performed my local modifications, however it seem, the official git project perform agit fscklocally before pushing to origin. C:\Cygwin\home\example\utils>...
user2284570's user avatar
  • 3,130
2 votes
1 answer
369 views

How do I capture output of git fsck --full --verbose in a log file? I tried with git fsck --full --verbose > log and git fsck --full --verbose | tee log but neither is working for me. What ...
user avatar
6 votes
1 answer
5k views

Overview: I am unable to successfully pull changes in our repo to our production server. Running "git fsck" on my repo returned 5 instances of the same error: warning in tree [hash]: contains ...
Blaine Osepchuk's user avatar
5 votes
2 answers
7k views

tl;dr: is it possible to recover HEAD^'s tree if it is deleted and not pushed beforehand and if everything else is intact? I accidentally deleted part of my .git. I'm not entirely sure what's missing....
strugee's user avatar
  • 2,800
0 votes
0 answers
92 views

I'm trying to convert a git repository to mercurial. Partway through it fails with the following error: $ hg convert --datesort git-repo hg-repo initializing destination hg-repo repository scanning ...
jcavazos's user avatar
2 votes
0 answers
56 views

Given the following git fsck output $ git fsck --strict --no-dangling Checking object directories: 100% (256/256), done. error in tree deadbeefabad1dea38efe0a776ce5ac0b98b3d6c: not properly sorted ...
nulltoken's user avatar
  • 68.6k
1 vote
2 answers
511 views

I did a git rm -r -f on an ENTIRE directory in a new repo before I had ever committed. I had no branches. I tried the answers on Stack Overflow, but none helped. I tried this: git reset --hard HEAD ...
SirCameron's user avatar
81 votes
2 answers
43k views

What is the meaning in behind the fsck command name? The documentation of the command does not seem to mention what the name stands for.
Maic López Sáenz's user avatar
258 votes
5 answers
132k views

I'm looking for the basic information on dangling commits and blobs. My repository seems fine. But I ran git fsck for the first time to see what it did and I have a long list of 'dangling blobs' and a ...
doub1ejack's user avatar
  • 11.3k
16 votes
2 answers
5k views

On my local machine I removed files from folder. git init git add --all then I wrote (don't ask me, why! :) ) git rm -rf I don't commit, yet. Now I have empty folders in my project. In .git folder ...
user2003024's user avatar