![]() ![]() git subdirectory or suffix is near the end of what it searches. then try to git fetch or pull, push it will work for me. the simple solution removes the unused user public key from the git server. 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 push -u origin master You can check which key is used by. 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 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. packages/ classname compose di classnames core eslint-plugin But remotes. We don't allow pushing to this repository. git fetch origin git reset -hard origin/master git clean -f git fetch upstream git reset -hard upstream/master git clean -f Nothing helped Files not reset to any of remotes. 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. In my repository, I remotely track our main repository, which is bare. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |