Migrate even more files to the config dir

By the way, I also added an url config for git.sr.ht
to use SSH instead of Git by default.

Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2022-07-04 22:26:07 +08:00
parent 48f123fcea
commit 13ee5b7c72
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
10 changed files with 4 additions and 6 deletions

View File

@ -9,6 +9,7 @@
helper = !glab auth git-credential
[credential "https://mau.dev"]
helper = !glab auth git-credential
# User config
[user]
email = ajhalili2006@gmail.com
@ -31,14 +32,12 @@
# Enforce SSH
# We commented thus block out coz we use the GitHub CLI's Git Credential
# helper stuff
#[url "git@github.com:"]
# insteadOf = https://github.com/
# pushInsteadOf = https://github.com/
[url "git+ssh://ajhalili2006@git.launchpad.net/"]
insteadof = lp:
pushInsteadOf = lp:
[url "git@bitbucket.org:"]
insteadOf = https://bitbucket.org/
[url "git@git.sr.ht:"]
insteadOf = https://git.sh.rt
pushInsteadOf = https://git.sh.rt
[init]
defaultBranch = main
# TODO: Set up aliases for ther Git hosts, like in Launchpad.net

0
config/systemd/.gitkeep Normal file
View File

@ -1 +0,0 @@
Subproject commit 1aa64a86cf4c750e4d4788ef1a19d7a71ab641dd