2021-03-05 12:54:41 +01:00
|
|
|
# This is Git's per-user configuration file.
|
|
|
|
[user]
|
|
|
|
# Please adapt and uncomment the following lines:
|
|
|
|
name = Andrei Jiroh Eugenio Halili
|
|
|
|
email = andreijiroh@madebythepins.tk
|
2021-03-21 17:22:11 +01:00
|
|
|
# Don't ask why I don't use my old GPG key anymore.
|
2021-04-05 11:44:55 +02:00
|
|
|
# The old key I'm saying is the one in Keybase.
|
|
|
|
# Looks kinda outdated, but I'll fix it soon.
|
2021-03-05 12:54:41 +01:00
|
|
|
signingKey = A30EBE40AD856D88
|
|
|
|
[commit]
|
|
|
|
signoff = true
|
|
|
|
gpgSign = true
|
|
|
|
[tag]
|
|
|
|
gpgSign = true
|
|
|
|
[core]
|
|
|
|
## For god's sake, use Nano as possible.
|
|
|
|
## This way, we don't need to install VS Code again
|
|
|
|
## if we want to edit files.
|
2021-03-21 17:22:11 +01:00
|
|
|
editor = nano
|
2021-04-05 11:44:55 +02:00
|
|
|
|
|
|
|
# Enforce SSH
|
|
|
|
[url "git@github.com:"]
|
|
|
|
insteadOf = https://github.com/
|
|
|
|
pushInsteadOf = https://github.com/
|
|
|
|
[url "git@gitlab.com:"]
|
|
|
|
insteadOf = https://gitlab.com/
|
|
|
|
pushInsteadOf = https://gitlab.com/
|
|
|
|
[url "git@bitbucket.org:"]
|
|
|
|
insteadOf = https://bitbucket.org/
|
2021-04-21 16:36:55 +02:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
2021-06-19 09:22:16 +02:00
|
|
|
|
|
|
|
# aliases
|
2021-06-09 13:42:25 +02:00
|
|
|
[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"
|
2021-06-19 09:22:16 +02:00
|
|
|
stage = "add"
|
|
|
|
unstage = "restore --staged"
|
|
|
|
stats = "status"
|