Closed opoo closed 10 years ago
Execute git remote add origin <url> failed when I use GitHub for Windows with this plugin.
git remote add origin <url>
In GitBackend.java
if (!run("remote", new String[] { "add", "origin", remote })) throw new GitException("git remote failed");
This works for me.
if (!run("remote", new String[] { "add", "origin", remote })){ log.warn("git remote add failed, try git remote set-url"); if(!run("remote", new String[] { "set-url", "origin", remote })){ throw new GitException("git remote failed"); } }
Thank you so much.
Released in version 0.2.1. Thanks.
Execute
git remote add origin <url>
failed when I use GitHub for Windows with this plugin.In GitBackend.java
This works for me.