FalkorDB / code-graph

https://code-graph.falkordb.com
MIT License
35 stars 7 forks source link

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

Open gkorland opened 9 months ago

gkorland commented 9 months ago
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' }