-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Why the extraneous default git urls? #133
Comments
By the way, thanks for the plugin, very nice! (although sometimes it struggles with some big plugins with long commit history, on my 1MB connection I have to clone them from terminal first, because vim-plug doesn't finish them and it keeps retrying) |
See: #109 It's a little trick to avoid username/password prompt from git when the repository doesn't exist. (Such thing can happen when there's a typo in the argument, or when the repository is removed from GitHub) It looks kind of silly, but doing so is the only way I know that works on various versions of git. If you're aware of a better way to handle this, please let me know. As explained in the linked issue, there are two ways to override the default url pattern:
(By the way, vim-plug will not complain even if you manually remove Regarding the retrials, you might want to increase |
Thanks for all the info. |
By the way, I'm not aware. |
Okay, thanks. It's something I've wanted to fix too. Too bad, there's no easy solution. |
Indeed, as it's a hack, I guess it's not well known, and may bring more duplicates like this one. |
Regarding it not complaining even if |
That's a possibility. Yeah, we know that the following two URLs are equivalent on GitHub,
But does the same apply to the other git servers as well? Is it possible that they use some different URL scheme? I don't know the answer though, but you see what I'm worried about. I suggest that you use https://github.com/junegunn/vim-plug/wiki/faq#whats-the-deal-with-git-in-the-url |
Ok, I guess it has come the time for me to change my habits and adopt http urls for good. |
Why use git urls like https://git::@github.com/mileszs/ack.vim.git for the repositories?
There're some personal repositories which I push directly from the plugins directory, but I have to change remote urls to standard for the push to work on GitHub, and then, change it back to this non-conventional url so that vim-plug doesn't think there's a problem with the plugin when I run
:PlugUpdate
.The text was updated successfully, but these errors were encountered: