Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git clone - AlreadyExistsError: Failed to create remote at origin because it already exists. #4

Open
gkorland opened this issue Jan 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gkorland
Copy link
Contributor

gkorland commented Jan 8, 2024

repo_root: /tmp
error: AlreadyExistsError: Failed to create remote at origin because it already exists. (Hint: use 'force: true' parameter to overwrite existing remote.)
Cloned repo
 ⨯ NotFoundError: Could not find HEAD.
    at GitRefManager.resolve (webpack-internal:///(rsc)/./node_modules/isomorphic-git/index.js:1815:15)
    at async _log (webpack-internal:///(rsc)/./node_modules/isomorphic-git/index.js:10353:17)
    at async Object.log (webpack-internal:///(rsc)/./node_modules/isomorphic-git/index.js:10512:16)
    at async POST (webpack-internal:///(rsc)/./app/api/repo/route.ts:253:19)
    at async /home/guy/workspace/code-graph/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:63251 {
  caller: 'git.log',
  code: 'NotFoundError',
  data: { what: 'HEAD' }
@gkorland gkorland added the bug Something isn't working label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants