Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running setup with an existing repo will fail #1

Open
chmac opened this issue Dec 3, 2020 · 0 comments
Open

Running setup with an existing repo will fail #1

chmac opened this issue Dec 3, 2020 · 0 comments

Comments

@chmac
Copy link
Contributor

chmac commented Dec 3, 2020

The code assumes that it can setup a repo and push to it and that this repo will be empty. We should add a check for this somehow.

Long story

When the user runs setup, they push to their own me and commands repos. Part of that process is a clone() of those repos. If the repos are not empty (which the code assumes they are), then weird stuff happens, and mostly, the setup fails. We should explicitly tell the user that they're trying to clone an existing repository instead of create a new one, something like that, but obviously more friendly and understandable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant