fix(git): move config to .config
This commit is contained in:
parent
650c2b167e
commit
0f958de2a8
2 changed files with 11 additions and 4 deletions
34
.config/git/config
Executable file
34
.config/git/config
Executable file
|
@ -0,0 +1,34 @@
|
|||
[user]
|
||||
name = $GIT_AUTHOR
|
||||
email = $GIT_EMAIL
|
||||
[core]
|
||||
excludesfile = $HOME/.config/git/.gitignore_global
|
||||
autocrlf = input
|
||||
[color]
|
||||
diff = auto
|
||||
status = auto
|
||||
branch = auto
|
||||
interactive = auto
|
||||
ui = true
|
||||
pager = true
|
||||
submodule = true
|
||||
fetch = true
|
||||
pull = true
|
||||
[push]
|
||||
default = simple
|
||||
[pull]
|
||||
ff = only
|
||||
[core]
|
||||
excludesfile = ~/.gitignore
|
||||
autocrlf = input
|
||||
[status]
|
||||
submoduleSummary = true
|
||||
[pager]
|
||||
log = less --chop-long-lines --shift 3
|
||||
[alias]
|
||||
graph = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
|
||||
chronograph = graph --date-order
|
||||
ff = merge --ff-only
|
||||
amend = commit --amend --reuse-message=HEAD
|
||||
[init]
|
||||
defaultBranch = main
|
Loading…
Add table
Add a link
Reference in a new issue