Adding basic git config.

This commit is contained in:
Bartek Stalewski 2024-11-15 12:49:58 +01:00
parent 9b0bc11180
commit 5453cd0e57
Signed by: ftpd
SSH Key Fingerprint: SHA256:vGQiaNJcfUMLt3wF58+Zx15C6SpRDA9spUeggjVY8Yo
2 changed files with 32 additions and 0 deletions

28
config/git/config Normal file
View 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
View File

@ -0,0 +1,4 @@
*~
*.swp
.DS_Store
/nvim/.netrwhist