mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-02-04 06:36:35 -08:00
add config
This commit is contained in:
39
.gitconfig
39
.gitconfig
@@ -1,39 +0,0 @@
|
||||
; [includeIf "gitdir:~/.local/share/yadm/repo.git"]
|
||||
; path = .gitconfig.submodules
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[push]
|
||||
default = simple
|
||||
autoSetupRemote = true
|
||||
[diff]
|
||||
algorithm = histogram
|
||||
[merge]
|
||||
conflictstyle = zdiff3
|
||||
[pull]
|
||||
rebase = true
|
||||
[rebase]
|
||||
autostash = true
|
||||
autosquash = true
|
||||
[fetch]
|
||||
prune = true
|
||||
[branch]
|
||||
autosetuprebase = always
|
||||
[core]
|
||||
fsmonitor = true
|
||||
untrackedCache = true
|
||||
editor = nvim
|
||||
pager = delta
|
||||
[alias]
|
||||
st = status
|
||||
co = checkout
|
||||
br = branch
|
||||
lg = log --oneline --graph --decorate --all
|
||||
fixup = commit --fixup
|
||||
undo = reset --soft HEAD~1
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[delta]
|
||||
navigate = true # use n and N to move between diff sections
|
||||
dark = true # or light = true, or omit for auto-detection
|
||||
[user]
|
||||
name = suda@sudacode.com
|
||||
22
.gitconfig##os.Darwin
Normal file
22
.gitconfig##os.Darwin
Normal file
@@ -0,0 +1,22 @@
|
||||
[user]
|
||||
name = sudacode
|
||||
email = suda@sudacode.com
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[push]
|
||||
default = simple
|
||||
autoSetupRemote = true
|
||||
[pull]
|
||||
rebase = true
|
||||
[rebase]
|
||||
autoStash = true
|
||||
[fetch]
|
||||
prune = true
|
||||
[diff]
|
||||
algorithm = histogram
|
||||
[merge]
|
||||
conflictstyle = zdiff3
|
||||
[color]
|
||||
ui = auto
|
||||
[core]
|
||||
pager = less -FRX
|
||||
Reference in New Issue
Block a user