|How can I clear the repository cache? [SOLVED] [message #676869]
||Mon, 06 June 2011 19:34
Registered: June 2011
I think I need to clear the GIT repository cache because whenever I clone a repository and use a workspace folder that I used for a previous version of that repository, EGit seems to remember the repository settings for the old folder, in particular, it remembers that the old repository was a bare repo.|
Detailed situation is:
1. created an empty remote repository and pushed a local bare repo at /myproject to it
2. realized i couldn't pull from that remote bare repo so I deleted it and my local repo included the /myproject directory
3. recreated the empty remote repository
4. went to clone the empty remote repository locally but found if i cloned using the same directory as the old (deleted) repo it would assume this recreated repo was bare like the old one.
5. if i clone the empty remote repository into a different directory like /myproject2 everything works fine, but if i clone the empty repository into /myproject it somehow retains the old repository settings.
I checked the .git/config for the the cloned repository in both cases and note that the 'bare' config option is not set so I assume there must be some EGit repository cache file somewhere that retains these settings that I must edit/delete.
Anyone know where it is?
[Updated on: Mon, 06 June 2011 19:45]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01646 seconds