(path, newRemote, cb)
| 406 | } |
| 407 | |
| 408 | function updateOriginUrl(path, newRemote, cb) { |
| 409 | var newUrl = 'git@github.com:' + newRemote + '/' + Path.basename(path); |
| 410 | exec(['remote', 'set-url', 'origin', newUrl], path, cb); |
| 411 | } |
| 412 | |
| 413 | module.exports = { |
| 414 | exec: exec, |