.gitconfig and .gitignore-global

This commit is contained in:
Vladan Popovic 2024-09-30 00:36:17 +02:00
parent 3065a9db72
commit a9573e1cf0
2 changed files with 48 additions and 0 deletions

16
git/.gitconfig Normal file
View file

@ -0,0 +1,16 @@
[user]
email = vladanovic@gmail.com
name = Vladan Popovic
[core]
excludesfile = /home/vladan/.gitignore-global
editor = nvim
[pull]
rebase = true
[init]
defaultBranch = main
[daemon]
receivepack = true
[credential]
helper = store
[rebase]
autosquash = true

32
git/.gitignore-global Normal file
View file

@ -0,0 +1,32 @@
# Vim tmp.
*~
*.sw?
# Emacs tmp.
\#*\#
.\#*
# Vim / Emacs tags.
*tags
TAGS
*.db
*.sqlite3
# Cargo.
target/
# Exercism creates a repo per exercise.
**/.exercism/*
# Python.
__pycache__/
*.py[oc]
build/
dist/
wheels/
*.egg-info
.venv
# Sphinx.
_build/