Created
May 31, 2022 22:57
-
-
Save RichardBronosky/25455115a9180cc23c7d64b4729cb99a to your computer and use it in GitHub Desktop.
Always clone via SSH regardless of using an HTTPS URL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use SSH instead of HTTPS for github.com | |
[url "ssh://[email protected]/RichardBronosky"] | |
# This one allows you to clone from the URL in your browser address bar | |
insteadOf = https://github.com/RichardBronosky | |
# Use SSH instead of HTTPS for gist.github.com | |
# No, gist URLs do not indluce the username. | |
[url "ssh://[email protected]/"] | |
# This one allows you to clone from the URL in your browser address bar. Example URL: | |
# https://gist.github.com/RichardBronosky/9db43c0e374933c82401fb2be85494aa | |
# Yes, the trailing slash is needed for gists but not for regular repos. | |
insteadOf = https://gist.github.com/RichardBronosky/ | |
# This one allows you to use the "Clone via HTTPS" button. Example URL: | |
# https://gist.github.com/9db43c0e374933c82401fb2be85494aa.git | |
insteadOf = https://gist.github.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment