muerwre.github.io/content/Git/Force git to use HTTPS.md
2022-11-04 18:29:11 +06:00

8 lines
210 B
Markdown

Forces #git to use https even if remote url is #SSH. Useful for the networks with blocked #ssh protocol.
Put this inside your `~/.gitconfig`:
```c
[url "https://github.com"]
insteadOf = git://github.com
```