Closed
Description
Right now it is possible for use_github()
to successfully create a GitHub repo and set a remote. But then fail to push, e.g. due to SSH key/passphrase problems.
Then, when you call it again, it exits early, because it thinks the repo already uses GitHub, because the remote is set. If you unset that, you get a new (cryptic) error because the remote repo already exists.
Could it handle "partial setup" better?