0

The fetch was working fine before, now when I fetch from the remote GIT repository i got this following error (please refer screenshot below). even i give "y", i got the same issue

enter image description here Is anyone experienced this before? Please help me in this. Thanks in advance for any help.

6
  • Did you already check if it's a problem with a lock? Commented Mar 3, 2015 at 8:16
  • @Jan: Thanks for help. How to check lock is there and how to resolve it? Commented Mar 3, 2015 at 8:21
  • For Windows you usually use the Process Explorer and for Linux I would use the lsof command on CLI Commented Mar 3, 2015 at 8:30
  • @Jan: How to unlock it? Commented Mar 3, 2015 at 8:40
  • Try to kill the process or simply just try restarting your computer ;) Commented Mar 3, 2015 at 8:41

1 Answer 1

1

Looks like your pack file is corrupted.

Pack file is the "git database" where git store all its binary content. In your case it looks like its "broken" for some reason.

First of all execute git gc --aggressive and then verify that the repo is OK with git fsck

Sign up to request clarification or add additional context in comments.

6 Comments

Nope, it will not do any harm to your file or repo. its will update the git internal file system
same issue if run "git gc --aggressive".
Seems like your pack file is corrupted. i suggest to do the following: backup your current folder, clone the repository again then try to add your stuff.
Do you have local commits that are not pushed yet?
No i don't have any local commit fortunately
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.