Update git config
This commit is contained in:
parent
fa82fd9fd5
commit
e87298c70e
2 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,15 @@
|
||||||
[core]
|
[core]
|
||||||
# disable autocrlf
|
# disable autocrlf
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
|
excludesfile = ~/.config/git/excludes
|
||||||
|
[color]
|
||||||
|
ui = auto
|
||||||
|
[pull]
|
||||||
|
ff = only
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
[push]
|
||||||
|
default = nothing
|
||||||
[alias]
|
[alias]
|
||||||
# pushes to all remotes (currently lacking a way to specify ref name, it will push EVERYTHING)
|
# pushes to all remotes (currently lacking a way to specify ref name, it will push EVERYTHING)
|
||||||
push-all = !git remote | xargs -L1 git push --all
|
push-all = !git remote | xargs -L1 git push --all
|
||||||
|
|
2
private_dot_config/git/excludes
Normal file
2
private_dot_config/git/excludes
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
.directory
|
||||||
|
.idea/
|
Loading…
Add table
Reference in a new issue