67 lines
1.1 KiB
INI
67 lines
1.1 KiB
INI
# This is Git's per-user configuration file.
|
|
[user]
|
|
name = Tyra Johansson
|
|
email = tyra@thematrix.se
|
|
|
|
[core]
|
|
editor = nano
|
|
pager = delta
|
|
|
|
[interactive]
|
|
diffFilter = delta --color-only
|
|
|
|
[delta]
|
|
side-by-side = true
|
|
line-numbers = true
|
|
navigate = true
|
|
syntax-theme = "Gruvbox Dark"
|
|
plus-color = "#b8bb26"
|
|
minus-color = "#fb4934"
|
|
|
|
[init]
|
|
defaultBranch = main
|
|
|
|
[safe]
|
|
directory = /mnt/c/Users/tyra
|
|
|
|
[push]
|
|
default = simple
|
|
autoSetupRemote = true
|
|
|
|
[pull]
|
|
rebase = true
|
|
|
|
[fetch]
|
|
prune = true
|
|
|
|
[rebase]
|
|
autoSquash = true
|
|
autoStash = true
|
|
|
|
[rerere]
|
|
enabled = true
|
|
|
|
[diff]
|
|
colorMoved = default
|
|
|
|
[branch]
|
|
sort = -committerdate
|
|
|
|
[alias]
|
|
st = status --short --branch
|
|
ci = commit
|
|
co = checkout
|
|
br = branch
|
|
lg = log --graph --pretty=format:'%C(auto)%h%d %s%n %C(yellow)(%ar) by %an%Creset%n %C(white)%Creset' --all
|
|
ll = lg --stat
|
|
ls = lg --simplify-by-decoration
|
|
undo = reset HEAD~1 --mixed
|
|
amend = commit --amend --no-edit
|
|
wip = commit -m "WIP"
|
|
unstage = reset HEAD --
|
|
stage = add
|
|
last = log -1 HEAD --stat
|
|
diffs = diff --stat
|
|
fixup = commit --fixup
|
|
aliases = config --get-regexp alias
|