[credential "https://github.com"] helper = !gh auth git-credential [user] email = ajhalili2006@gmail.com name = Andrei Jiroh Eugenio Halili signingkey = A30EBE40AD856D88 #editor = code --wait #[merge] # tool = vscode #[mergetool "vscode"] # cmd = code --wait $MERGED #[diff] # tool = vscode #[difftool "vscode"] # cmd = code --wait --diff $LOCAL $REMOTE [commit] gpgsign = true # 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+ssh://git@gitlab.alpinelinux.org/"] insteadof = alpine: pushInsteadOf = alpine: [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] #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" signoff = "commit --signoff" stage = "add" unstage = "restore --staged" stats = "status"