jmalloc / grit

Keep track of your local Git clones.
MIT License
22 stars 3 forks source link

Interactively prompt for source when cloning. #10

Closed jmalloc closed 7 years ago

jmalloc commented 7 years ago

Blocked by #5

If multiple sources have a repo with a matching slug, prompt for a specific source to use (like index select).

At the moment Grit discovers whether a repo exists by trying to clone it, so we'll need a lighter weight way to do that (probably concurrently). git remote-ls is probably the way to do it from the command, so maybe aim for the equivalent in go-git.

jmalloc commented 7 years ago

https://github.com/src-d/go-git/issues/199#issuecomment-271244031

jmalloc commented 7 years ago

This makes clone.order from the config unnecessary.