Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(gitconfig): manually import back git aliases and add some

Copied over from https://git.sr.ht/~ajhalili2006/dotfiles-legacy/tree/main/item/config/gitconfig/linux

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>

+78
+78
.gitconfig
··· 1 + [user] 2 + name = Andrei Jiroh Halili 3 + email = ajhalili2006@gmail.com 4 + signingkey = 67BFC91B3DA12BE8 5 + 6 + [commit] 7 + gpgSign = true 8 + [tag] 9 + gpgSign = true 10 + 11 + [format] 12 + signOff = true 13 + 14 + # https://groups.google.com/g/binary-transparency/c/f-BI4o8HZW0 15 + [transfer] 16 + fsckobjects = true 17 + [fetch] 18 + fsckobjects = true 19 + [receive] 20 + fsckObjects = true 21 + 22 + # project-specifics 23 + [includeIf "gitdir/i:~/git-projects/sandbox"] 24 + path = ~/.dotfiles/config/global/ajhalili2006-experiments.include.gitconfig 25 + [includeIf "gitdir/i:~/git-projects/recaptime.dev"] 26 + path = ~/.dotfiles/config/global/recaptime-dev.include.gitconfig 27 + [includeIf "gitdir/i:~/projects/labs.andreijiroh.dev"] 28 + path = ~/.dotfiles/config/global/ajhalili2006-experiments.include.gitconfig 29 + [includeIf "gitdir/i:~/projects/recaptime.dev"] 30 + path = ~/.dotfiles/config/global/recaptime-dev.include.gitconfig 31 + 32 + # authentication hellscape 33 + [credential "https://github.com"] 34 + helper = 35 + helper = !/usr/bin/gh auth git-credential 36 + [credential "https://gist.github.com"] 37 + helper = 38 + helper = !/usr/bin/gh auth git-credential 39 + [credential "https://gitlab.com"] 40 + helper = 41 + helper = !/usr/bin/glab auth git-credential 42 + [credential "https://mau.dev"] 43 + helper = 44 + helper = !/usr/bin/glab auth git-credential 45 + [credential "https://gitlab.alpinelinux.org"] 46 + helper = 47 + helper = !/usr/bin/glab auth git-credential 48 + 49 + # sendemail stuff (https://go.recaptime.eu.org/sendgmail) 50 + [sendemail] 51 + smtpServer = /home/ajhalili2006/go/bin/sendgmail 52 + smtpServerOption = -sender=ajhalili2006@gmail.com 53 + 54 + # repo init chores 55 + [init] 56 + defaultBranch = main 57 + 58 + # aliases 59 + [url "git@git.sr.ht:"] 60 + insteadOf = https://git.sh.rt 61 + pushInsteadOf = https://git.sh.rt 62 + [init] 63 + defaultBranch = main 64 + # TODO: Set up aliases for ther Git hosts, like in Launchpad.net 65 + 66 + # aliases 67 + [alias] 68 + #change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\> signoff = "commit --signoff" 69 + ammend = "commit --amend" 70 + #stage = "add" 71 + unstage = "restore --staged" 72 + stats = "status" 73 + sdiff = !git diff && git submodule foreach 'git diff' 74 + spush = push --recurse-submodules=on-demand 75 + supdate = submodule update --remote --merge 76 + skip-ci = push -o ci.skip 77 + root = rev-parse --show-toplevel 78 + signoff-commit = commit --signoff