[alias] graph = log --graph --color --pretty=format:"%C(yellow)%H%C(green)%d%C(reset)%n%x20%cd%n%x20%cn%C(blue)%x20(%ce)%x20%C(cyan)[gpg:%GK%x20%G?]%C(reset)%n%x20%s%n" ll = log --oneline st = status -sb cm = commit -m append = commit --amend --no-edit sobmodules = submodule update --init --recursive df = difftool -t nvimdiff -y last = log -1 --stat br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate brr = branch --remote --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate undo = reset HEAD~1 --mixed unstage = reset HEAD -- [difftool "nvimdiff"] cmd = "nvim -d \"$LOCAL\" \"$REMOTE\"" [url "https://"] insteadOf = git:// [core] pager = delta hooksPath = /dev/null [interactive] diffFilter = delta --color-only [pull] ff = only [init] defaultBranch = main [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true [push] autoSetupRemote = true {{- if eq .work false }} [includeIf "gitdir:~/Projects/"] path = "~/Projects/.gitconfig" {{- end }} {{- if eq .work true}} [includeIf "gitdir:~/Projects/private/"] path = "~/Projects/private/.gitconfig" [includeIf "gitdir:~/Projects/zeronorth/"] path = "~/Projects/zeronorth/.gitconfig" {{- end }}