feat: git

This commit is contained in:
2025-10-20 19:44:24 +02:00
parent 0d394dd577
commit c8a4741d94
3 changed files with 46 additions and 7 deletions

View File

@@ -1,10 +1,19 @@
[init]
defaultBranch = main
[user]
name = Tomas Mirchev
email = contact@tomastm.com
[pull]
rebase = true
name = Tomas Mirchev
email = contact@tomastm.com
[core]
editor = nvim
editor = nvim
excludesfile = ~/.gitignore
[init]
defaultBranch = main
[pull]
rebase = true
[push]
default = current
autoSetupRemote = true
[remote]
pushDefault = origin
[alias]
amend = commit -a --amend --no-edit
rename = branch -m

21
config/shared/gitignore Normal file
View File

@@ -0,0 +1,21 @@
.DS_Store
*.swp
*.swo
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.env
.env.*
build/
dist/
build/
tmp/
temp/
logs/
*.log
.cache/
coverage/
.devflow/
.dev-flow/