Adding basic git config.
This commit is contained in:
parent
9b0bc11180
commit
5453cd0e57
28
config/git/config
Normal file
28
config/git/config
Normal file
@ -0,0 +1,28 @@
|
||||
[include]
|
||||
path = ~/.local/config/git
|
||||
|
||||
[alias]
|
||||
l = "!git log --graph --abbrev-commit --date=short --pretty=format:'%Cred%h%Creset %Cgreen%cr%Creset: %s : %C(bold blue)%an%Creset %C(yellow)%d%Creset'"
|
||||
[color]
|
||||
diff = auto
|
||||
status = auto
|
||||
branch = auto
|
||||
interactive = auto
|
||||
ui = auto
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[core]
|
||||
autocrlf = false
|
||||
pager = less -FRX
|
||||
[gpg]
|
||||
format = ssh
|
||||
[http]
|
||||
sslVerify = false
|
||||
[init]
|
||||
defaultBranch = master
|
||||
[pull]
|
||||
rebase = true
|
||||
[push]
|
||||
default = current
|
||||
[status]
|
||||
short = true
|
4
config/git/ignore
Normal file
4
config/git/ignore
Normal file
@ -0,0 +1,4 @@
|
||||
*~
|
||||
*.swp
|
||||
.DS_Store
|
||||
/nvim/.netrwhist
|
Loading…
Reference in New Issue
Block a user