Add 'dots/' from commit 'f64b634dd8fbb2c8a2898c3b9d0acc9452e4d966'
git-subtree-dir: dots git-subtree-mainline:2ad98cde17git-subtree-split:f64b634dd8
This commit is contained in:
85
dots/.gitconfig
Normal file
85
dots/.gitconfig
Normal file
@@ -0,0 +1,85 @@
|
||||
[core]
|
||||
editor = nvim
|
||||
excludesfile = ~/.gitignore
|
||||
|
||||
[user]
|
||||
email = hektor.misplon@pm.me
|
||||
name = Hektor Misplon
|
||||
username = hektor
|
||||
signingKey = AEB98353B8D72E465C4236435151AF79E723F21C
|
||||
|
||||
[alias]
|
||||
d = diff
|
||||
ds = diff --staged
|
||||
a = add
|
||||
ap = add -p
|
||||
c = commit
|
||||
cm = commit -m
|
||||
cam = commit --amend
|
||||
l = log --pretty=format:"(%an)\\ \\ %h\\ \\ %ad\\ \\ %s" --date=short
|
||||
s = status --short
|
||||
sv = status --verbose
|
||||
co = checkout
|
||||
cob = checkout -b
|
||||
# Note these follow the naming convention of my `.bash_aliases`
|
||||
al = "!git config -l | grep alias | cut -c 7-"
|
||||
alf = "!git config -l | grep alias | cut -c 7- | fzf"
|
||||
al- = "!git config --local --unset $(git config -l | grep alias | cut --delimiter="=" --fields=1 | fzf)"
|
||||
rs = "restore --staged"
|
||||
rb = "rebase"
|
||||
rbi = "rebase -i"
|
||||
wt = "worktree"
|
||||
wtc = "config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\""
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
|
||||
[color "diff"]
|
||||
meta = yellow bold
|
||||
commit = green bold
|
||||
frag = magenta bold
|
||||
old = red bold
|
||||
new = green bold
|
||||
whitespace = red reverse
|
||||
|
||||
[color "diff-highlight"]
|
||||
oldNormal = red bold
|
||||
oldHighlight = "red bold 52"
|
||||
newNormal = "green bold"
|
||||
newHighlight = "green bold 22"
|
||||
|
||||
[color "branch"]
|
||||
current = normal bold
|
||||
local = normal
|
||||
remote = normal italic
|
||||
|
||||
[color "status"]
|
||||
added = green
|
||||
changed = yellow
|
||||
untracked = normal italic
|
||||
|
||||
[credential]
|
||||
helper = cache --timeout=3600
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[log]
|
||||
date = relative
|
||||
abbrevCommit = true
|
||||
|
||||
[credential "https://github.com"]
|
||||
helper = !gh auth git-credential
|
||||
|
||||
[merge]
|
||||
tool = nvimdiff
|
||||
conflictstyle = diff3
|
||||
[pull]
|
||||
rebase = true
|
||||
[diff]
|
||||
colorMoved = zebra
|
||||
[commit]
|
||||
gpgsign = false
|
||||
|
||||
[interactive]
|
||||
singleKey = true
|
||||
Reference in New Issue
Block a user