So trying to change the push url after a clone:
var remote = repo.getRemote('origin');
remote.pushUrl(); <===== Seg Fault
remote.setPushUrl(pushUrl); <===== git remote -v does not show the update
am I using this right ?
Thanks,
Did
Reactions are currently unavailable
So trying to change the push url after a clone:
var remote = repo.getRemote('origin'); remote.pushUrl(); <===== Seg Fault remote.setPushUrl(pushUrl); <===== git remote -v does not show the updateam I using this right ?
Thanks,
Did