Thread: not a git repository (?)
hi all,
i'm having problem few repositories manage git. moved repositories hard disk , today have on of them:
however data repository still there:code:$ git status fatal: not git repository (or of parent directories): .git
i have mention moved repositories ext3 fs ntfs one, mounted fuseblk, permission problem. copying repositories ext3 fs did not solved problem.code:$ ls -al total 8 drwx------ 1 luca luca 464 2012-01-02 09:42 . drwx------ 1 luca luca 4096 2012-01-02 09:42 .. drwx------ 1 luca luca 0 2012-01-02 09:42 .externaltoolbuilders drwx------ 1 luca luca 4096 2012-01-02 09:42 .git drwx------ 1 luca luca 0 2012-01-02 09:42 .settings drwx------ 1 luca luca 0 2012-01-02 09:42 src drwx------ 1 luca luca 256 2012-01-02 09:42 target $ du -hs .git/* 0 .git/branches 0 .git/hooks 0 .git/info 20k .git/logs 36k .git/objects 512 .git/refs
system following:
any idea of happened?code:$ uname -a linux lferrar3 2.6.35-29-generic #51-ubuntu smp fri apr 15 17:12:35 utc 2011 x86_64 gnu/linux $ git --version git version 1.7.1
i found head , refs/heads missing, while remote heads still in place. avoid me run git-fsck. idea on how solve problem? please note objects still in place.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk not a git repository (?)
Ubuntu
Comments
Post a Comment