[alias] aa = add -A bd = branch -D ci = commit co = checkout df = difftool st = status root = rev-parse --show-toplevel [branch] sort = -committerdate [column] ui = auto [commit] verbose = true [core] # excludesFile: reminder that it defaults to ~/.config/git/ignore fsmonitor = true untrackedcache = true [diff] algorithm = histogram colorMoved = plain mnemonicPrefix = true renames = true [fetch] all = true prune = true pruneTags = true [gpg] format = ssh [gpg "ssh"] allowedSignersFile = "~/.config/git/signers.ssh" defaultKeyCommand = "ssh-add -L" # default: first key in agent [help] autocorrect = prompt [init] defaultBranch = main [log] # WHATWG Dates and Times Microsyntax # I legitimately like this one ever since I implemented janet-date. # It's the one that makes the most sense, at least to me. date = "format:%F %T%z" [merge] conflictstyle = zdiff3 [pull] rebase = true [push] autoSetupRemote = true default = simple followTags = true [rebase] autoSquash = true autoStash = true updateRefs = true [rerere] enabled = true autoupdate = true [sendemail] from = code@toast.bunkerlabs.net smtpencryption = tls smtpserver = smtp.migadu.com smtpserverport = 465 smtpuser = toast@bunkerlabs.net [status] branch = true short = true [tag] sort = version:refname [user] email = code@toast.bunkerlabs.net name = ChloƩ Vulquin # platform includes [includeIf "gitdir:/home/"] path = "linux.config" [includeIf "gitdir:/Users/"] path = "macos.config" [include] path = "local.config" # intended workflow: # own projects: clone with me: (github), st: (sr.ht toast), gt: (github toast) # github projects: clone with gh: # sr.ht projetcts: clone with srht: # potential TODO: clone gh: but push to st: fork ? may not be possible # it would be possible if you could have something like: # [remote "me"] # url = st:* # and the * was somehow implied to be $(basename $origin) # me: [url "anna:git/"] insteadOf = "me:" [url "git@git.sr.ht:~spacetoast/"] insteadOf = "st:" # github [url "https://github.com/"] insteadOf = "gh:" [url "git@github.com:"] pushInsteadOf = "https://github.com/" pushInsteadOf = "gh:" # sr.ht [url "https://git.sr.ht/"] insteadOf = "srht:" [url "git@git.sr.ht:"] pushInsteadOf = "https://git.sr.ht/" pushInsteadOf = "srht:" # filters [filter "lfs"] smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true clean = git-lfs clean -- %f