The git configures can solve the URL.InsteadOf
problem by using:
- Configure:
git config --global url."https://".insteadOf git://
-
.gitconfig:
[url "https://"] insteadOf = git://
-
Github specified:
git config --global url."https://github.com".insteadOf git://github.com
-
Another github specified:
git config --global url."https://github.com/".insteadOf github:
-
Or other way:
[url "git://anonscm.debian.org"] insteadOf = "git://git.debian.org" [url "ssh://git.debian.org"] pushInsteadOf = "git://git.debian.org"
This version will be last version for keep git-style-rc files.