Skip to content

Commit

Permalink
Rationalise the git references
Browse files Browse the repository at this point in the history
  • Loading branch information
karlmutch committed Jan 11, 2022
1 parent 0613a2f commit 9cf6d5c
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -89,24 +89,28 @@

# URL shorthands

[url "git@github.com:"]

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

[url "git://github.com/"]
[url "ssh://git@gitlab.com/"]
insteadOf = https://gitlab.com/

[url "ssh://git@bitbucket.org/"]
insteadOf = https://bitbucket.org/

[url "git://github.com/"]
insteadOf = "github:"

[url "git@gist.github.com:"]

insteadOf = "gst:"
pushInsteadOf = "gist:"
pushInsteadOf = "git://gist.github.com/"

[url "git://gist.github.com/"]

insteadOf = "gist:"

[pull]
Expand All @@ -116,4 +120,13 @@
gpgsign = true

[gpg]
program = gpg2
program = gpg

[user]
email = karlmutch@users.noreply.github.com
name = Karl Mutch
signingkey = CBF2D27C8EBFEB76

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

0 comments on commit 9cf6d5c

Please sign in to comment.