Skip to content

Error when the folder is already a git repo #14

Open
@bradbarrish

Description

? URL of the repository https://github.com/bradbarrish/bradbarrish-blog
⠋ Updating the project to use the repository URL
Error: Command failed: git init && git remote add origin https://github.com/bradbarrish/bradbarrish-blog && git add . && git commit -m "first commit :tada:"
fatal: remote origin already exists.

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:200:13)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) {
  killed: false,
  code: 128,
  signal: null,
  cmd: 'git init && git remote add origin ' +
    'https://github.com/bradbarrish/bradbarrish-blog && git add . && git ' +
    'commit -m "first commit :tada:"',
  stdout: 'Reinitialized existing Git repository in ' +
    '/Users/brad.barrish/bradbarrish-blog/.git/\n',
  stderr: 'fatal: remote origin already exists.\n'
}

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions