(local, remote string)
| 126 | } |
| 127 | |
| 128 | func setRemote(local, remote string) { |
| 129 | cmd := exec.Command("git", "remote", "set-url", "origin", remote) |
| 130 | cmd.Dir = local |
| 131 | err := cmd.Run() |
| 132 | CheckIfError(err) |
| 133 | } |
| 134 | |
| 135 | func addRemote(local, remote string) { |
| 136 | cmd := exec.Command("git", "remote", "add", "origin", remote) |
no test coverage detected