Linked Questions

1 vote
0 answers
1k views

I had performed some local changes to my repository and committed them to my local repo. While fetching code from repository my system power got lost. As a result, my git repo got corrupted. Now when ...
rango's user avatar
  • 311
0 votes
2 answers
147 views

I'm trying to pull from the class server but I get this error whenever I try: error: object file .git/objects/6d/6a0de342a65950d909883a1057ce117b241945 is empty error: object file .git/objects/6d/...
user avatar
1314 votes
19 answers
893k views

I have two branches: local branch (the one which I work with) remote branch (public, only well-tested commits go there) Recently I seriously messed up my local branch. How would I replace the local ...
YemSalat's user avatar
  • 21.7k
545 votes
34 answers
399k views

Whenever I pull from my remote, I get the following error about compression. When I run the manual compression, I get the same: $ git gc error: Could not read 3813783126d41a3200b35b6681357c213352ab31 ...
asgerhallas's user avatar
  • 17.8k
256 votes
5 answers
131k 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
103 votes
11 answers
172k views

I did a Git pull when I was near my quota, and as a result (so I think), got a corrupted file: $ git pull walk dffbfa18916a9db95ef8fafc6d7d769c29a445aa fatal: object ...
Mike's user avatar
  • 25.2k
49 votes
14 answers
92k views

I am getting fatal: Failed to resolve HEAD as a valid ref. whenever I try to commit. I have tried echo ref: refs/heads/master >.git/HEAD but it's not working Also tried git commit it's not ...
idurvesh's user avatar
  • 724
67 votes
3 answers
23k views

I recently ran git fsck --lost-found on my repository. I expected to see a couple dangling commits, where I had reset HEAD. However, I was surprised to see likely over several thousand dangling ...
wadesworld's user avatar
  • 13.8k
15 votes
10 answers
24k views

Before that I got a problem error: object file is empty cause my laptop sunddenly turn off. I was fixed with this. My local repo was fixed and I try to pull and push to remote master. But I have a ...
Ibrohim Hanafi's user avatar
33 votes
2 answers
46k views

I am getting the following error if I pull for fetch from remote $ git pull remote: Counting objects: 85, done. remote: Compressing objects: 100% (37/37), done. remote: Total 85 (delta 63), reused 69 ...
Vikas's user avatar
  • 24.4k
23 votes
5 answers
23k views

Because I've been rsyncing my Git repository between various places, I'm now stuck with a broken Git repository. When I do git log I get a correct history, but when I do git status I get fatal: unable ...
kramer65's user avatar
  • 54.5k
11 votes
5 answers
27k views

I have made a few commits to a local branch, then I tried to do git fetch. It failed with the following errors: fatal: loose object 7b36029a951eacd979d24e993e020c4d018ca265 (stored in .git/objects/7b/...
stripybadger's user avatar
  • 5,109
15 votes
2 answers
9k views

I have met an error before(GIT error: object file is empty) Then I used the method mentioned in how to fix GIT error: object file is empty? After I updated the HEAD pointer to a good object, it does ...
SnailgAry's user avatar
  • 151
4 votes
5 answers
20k views

When trying to commit with git commit -a -m "Huge update" I get fatal: could not parse HEAD Error When Committing After reading fatal: could not parse HEAD Error When Committing I ...
Make42's user avatar
  • 13.3k
8 votes
2 answers
10k views

I get the following error when I do a git pull origin master. error: Unable to find a47058d09b4ca436d65609758a9dba52235a75bd under http://myweb.com/myapp.git Cannot obtain needed blob ...
learningtech's user avatar

15 30 50 per page