2012-11-28 2 views
2
C:\Users\xxx\temp>git clone D:\userdata\Dropbox\gitrepo\main.git 
Cloning into 'main'... 
error: unable to find 0fb6364a712239ae87e4abb35e155a04e960c788 
error: refs/heads/master does not point to a valid object! 
done. 
error: Trying to write ref HEAD with nonexistent object 0fb6364a712239ae87e4abb3 
5e155a04e960c788 
fatal: Cannot update the ref 'HEAD'. 
fatal: The remote end hung up unexpectedly 

내 자식 리포는 내 컴퓨터에서 dropbox에 저장되어 있지만이 컴퓨터에서이 명령은 정상적으로 작동하지만 다른 컴퓨터에서는 위 오류. 어떤 아이디어? (물론 레포가 동기화되어 있습니다)"refs/heads/master가 올바른 개체를 가리 키지 않습니다."

고마워요.

+0

아야. Dropbox에 git repo를 저장하는 것이 좋습니다. 뭔가가 동기화되지 않은 것처럼 냄새가납니다. 마찬가지로 개정판은 한 기계에서 작성되었지만 다른 기계로 전파되지는 않았습니다. – jszakmeister

+0

네가 맞습니다. – Mike

답변

1

이 문제의 근본 원인은 dropbox가 Git 문제가 아닌 쓰기 권한으로 인해 완전히 repo와 동기화되지 않기 때문입니다.

관련 문제