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

got should check if a repo exists before becoming interactive #66

Closed
oalders opened this issue Dec 15, 2017 · 1 comment
Closed

got should check if a repo exists before becoming interactive #66

oalders opened this issue Dec 15, 2017 · 1 comment

Comments

@oalders
Copy link

oalders commented Dec 15, 2017

I know I'm lazy, but this happens to me pretty regularly:

olaf$ got clone git@github.com:ap/Plack-Middleware-SignedCookies.git
Name:  [Plack-Middleware-SignedCookies]:
Path:  [/Users/olaf/Documents/github/Plack-Middleware-SignedCookies]:
Tags:  :
Cloning into '/Users/olaf/Documents/github/Plack-Middleware-SignedCookies'...
fatal: destination path '/Users/olaf/Documents/github/Plack-Middleware-SignedCookies' already exists and is not an empty directory.

It would be great if this exited early, before I (possibly) add tags etc.

@oalders
Copy link
Author

oalders commented Jan 8, 2018

Wonderful! Thanks @yanick and @genehack!

genehack added a commit that referenced this issue Mar 20, 2018
  * Don't let the user pick a directory that already exists for
    got-clone; [#66] (Yanick)
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