I am starting with git. I initialed a repo and did first commits. To work with a friend I cloned my original repository ( with --bare) to an accessible location and started working on that copy with him. So both of our working copies are cloned from the later one. On some point I decided that I don't need the original repo any more and deleted it. And now both of our working copy show all kinds of errors with broken links/objects/tree because there is still a reference towards the old location/path of the original repo. Where do I find that or clean up the code? An explanation how this happened would be nice. In our understanding all git instances are independent and hold the complete tree. (that was the point of using git).
Thanks for your help. Phil
p.s.: I removed the reference to the old repository from the bare one by editing .git/config before cloning.
edit:
user@host:/work1/user/code/NIRVANA/TITVS> git remote -v
origin /work1/user/TITVS.git/ (fetch) #edit:this is the new repo
origin /work1/user/TITVS.git/ (push) #edit:this is the new repo
user@host:/work1/user/code/NIRVANA/TITVS> git pull
error: object directory /work1/user/TITVS/.git/objects does not exist; check .git/objects/info/alternates. #edit:this is the OLD repo
error: refs/remotes/origin/cleanning does not point to a valid object!
error: refs/remotes/origin/phil_test does not point to a valid object!
error: refs/remotes/origin/test does not point to a valid object!
error: refs/remotes/origin/test2 does not point to a valid object!
error: refs/tags/0.2.0 does not point to a valid object!
error: object directory /work1/user/TITVS/.git/objects does not exist; check .git/objects/info/alternates.
error: refs/heads/cleanning does not point to a valid object!
error: refs/heads/phil_test does not point to a valid object!
error: refs/heads/test does not point to a valid object!
error: refs/heads/test2 does not point to a valid object!
error: refs/tags/0.2.0 does not point to a valid object!
error: refs/remotes/origin/cleanning does not point to a valid object!
error: refs/remotes/origin/phil_test does not point to a valid object!
error: refs/remotes/origin/test does not point to a valid object!
error: refs/remotes/origin/test2 does not point to a valid object!
error: refs/tags/0.2.0 does not point to a valid object!
error: object directory /work1/user/TITVS/.git/objects does not exist; check .git/objects/info/alternates.
error: refs/remotes/origin/cleanning does not point to a valid object!
error: refs/remotes/origin/phil_test does not point to a valid object!
error: refs/remotes/origin/test does not point to a valid object!
error: refs/remotes/origin/test2 does not point to a valid object!
error: refs/tags/0.2.0 does not point to a valid object!
error: refs/remotes/origin/cleanning does not point to a valid object!
error: refs/remotes/origin/phil_test does not point to a valid object!
error: refs/remotes/origin/test does not point to a valid object!
error: refs/remotes/origin/test2 does not point to a valid object!
error: refs/tags/0.2.0 does not point to a valid object!
error: object directory /work1/user/TITVS/.git/objects does not exist; check .git/objects/info/alternates.
error: object directory /work1/user/TITVS/.git/objects does not exist; check .git/objects/info/alternates.
error: object directory /work1/user/TITVS/.git/objects does not exist; check .git/objects/info/alternates.
Already up-to-date.