![]() git subdirectory or suffix is near the end of what it searches. git or project.git in the vicinity too Git will search a variety of path names based on the one you give it, and a bare path name without a. git directory within your repo, look around for anything named. git away or delete it to allow Git to access your actual repository. I would take a look for that, and then move the inner. git directory within your repository first, instead of looking at your repository directory itself. If this is the case, Git may be looking into the. You can check with ls -a, to show hidden files as well. git directory within your bare repository. Given the error, it looks like you might have a. Does it contain all of those?Īnother thing to check is if you can log in directly to the server, and clone from the repository.īeyond that, if you still can't figure out what's wrong, I'd recommend editing your question to show a listing of what's in /users/integrator/project, and perhaps we can provide more help with that information. Does it look like a git repository? It needs to have at leas an objects directory, refs directory, and HEAD file in order to be a proper git repository. I would take a look at what is in the /users/integrator/project directory on your server. Here's a list of the contents of /users/integrator/project: config When I try to clone the bare repository, I get the following error: git clone /users/integrator/projectįatal: failed to open '/users/integrator/project/.git/objects': No such file or directory Failed connecting to 'origin' remote: error authenticating: failed connecting with agent. My question is: what could have caused this to happen? Or, are there any diagnostics I can use to figure out what is going wrong? I am not the only user suddenly having this problem, so the problem is more likely on the side of origin. We don't allow pushing to this repository. There are several people who have access to the integrator account, but they generally do merges and pulls. ![]() I haven't changed anything, and the repository is definitely still there. However, when I tried to remote update this morning, I got the following error: fatal: '/users/integrator/project' does not appear to be a git repositoryįatal: The remote end hung up unexpectedly I've never had any problems with fetching from origin the past. Please note that while it currently works with GitHub, this trick might not work with other Git servers. Warnings: It only works read-only, so if you might want to push to the repository any time in the future then use PhillyAIs solution instead. In my repository, I remotely track our main repository, which is bare. cc./cache.aspxd4922870319241641&wpbIRuOfgTn2-qdp6Fk-3Jn7rCVL6JgeI Ě low-tech workaround is to replace git:// with in the URL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |