Skip to content

Commit

Permalink
Git config improvements to bypass blocked ssh ports
Browse files Browse the repository at this point in the history
  • Loading branch information
karlmutch committed Aug 2, 2022
1 parent 6e5dd14 commit f054695
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,11 @@

# URL shorthands

[url "git@github.com:"]
[url "https://github.com/"]
insteadOf = "gh:"
pushInsteadOf = "github:"
insteadOf = "github:"
pushInsteadOf = "git://github.com/"
insteadOf = https://github.com/
InsteadOf = "git://github.com/"

[url "ssh://git@gitlab.com/"]
insteadOf = https://gitlab.com/
Expand Down Expand Up @@ -122,8 +121,14 @@
[user]
email = karlmutch@users.noreply.github.com
name = Karl Mutch
signingkey = CBF2D27C8EBFEB76
signingkey = 66164A9B79974CE0

[credential "ssh://github.com/"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential

0 comments on commit f054695

Please sign in to comment.