2021-03-05 12:54:41 +01:00
|
|
|
[credential "https://github.com"]
|
|
|
|
helper = !gh auth git-credential
|
2021-08-05 16:17:37 +02:00
|
|
|
|
2021-03-05 12:54:41 +01:00
|
|
|
[user]
|
|
|
|
email = andreijiroh@madebythepins.tk
|
|
|
|
name = Andrei Jiroh Eugenio Halili
|
|
|
|
signingkey = A30EBE40AD856D88
|
2021-08-05 16:17:37 +02:00
|
|
|
editor = code --wait
|
|
|
|
|
|
|
|
[merge]
|
|
|
|
tool = vscode
|
|
|
|
[mergetool "vscode"]
|
|
|
|
cmd = code --wait $MERGED
|
|
|
|
[diff]
|
|
|
|
tool = vscode
|
|
|
|
[difftool "vscode"]
|
|
|
|
cmd = code --wait --diff $LOCAL $REMOTE
|
|
|
|
|
2021-03-05 12:54:41 +01:00
|
|
|
[commit]
|
|
|
|
gpgsign = true
|
2021-06-27 13:02:37 +02:00
|
|
|
|
|
|
|
# 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/
|
2021-04-12 14:55:14 +02:00
|
|
|
[url "git+ssh://ajhalili2006@git.launchpad.net/"]
|
2021-06-27 13:02:37 +02:00
|
|
|
insteadof = lp:
|
|
|
|
pushInsteadOf = lp:
|
|
|
|
[url "git@gitlab.com:"]
|
|
|
|
insteadOf = https://gitlab.com/
|
|
|
|
pushInsteadOf = https://gitlab.com/
|
|
|
|
[url "git@bitbucket.org:"]
|
|
|
|
insteadOf = https://bitbucket.org/
|
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
|
|
|
|
|
|
|
# aliases
|
|
|
|
[alias]
|
2021-07-05 12:26:34 +02:00
|
|
|
#change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f"
|
2021-06-27 13:02:37 +02:00
|
|
|
signoff = "commit --signoff"
|
|
|
|
stage = "add"
|
|
|
|
unstage = "restore --staged"
|
|
|
|
stats = "status"
|