Closed liangguohuan closed 8 years ago
Because cloning is the same as downloading a repository (well, not completely) so you do not need any login credentials to do so. However, if you want to push commits to the remote, you need to be authorized. Therefore one needs to add an username and password.
If you want to work on your own plugin, please just use one directory for development. I prefer not to use the cloned version in the plugins folder for development. I am currently working on a small improvement so we can add version tags to the repository (by adding @v2.0.0
in your tmux configuration file).
(I have a Git folder in my home folder containing all repositories I ever created or worked on. I never ever do work in any other place than there).
OK, I got it now. Thx!
As your question is answered, can you close this issue? Thanks!
I know about how to clone from github via
https://github.com/...
orgit@github.com/...
, buthttps://git::@github.com/...
is the first time.I wrote a small plugin for myself, then i install my plugin via tpm. I cd my plugin where it is, then i do some local commits and try to push to github, i found i can't do it, it trigger fatal error:
remote: Invalid username or password
.who can tell me about this. i google it, but i can't find any info.