feat: git
This commit is contained in:
parent
0d394dd577
commit
c8a4741d94
@ -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
21
config/shared/gitignore
Normal 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/
|
||||
@ -18,6 +18,12 @@
|
||||
"to": "~/.gitconfig"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"link": {
|
||||
"from": "shared/gitignore",
|
||||
"to": "~/.gitignore"
|
||||
}
|
||||
},
|
||||
"zsh": {
|
||||
"link": {
|
||||
"from": "shared/zsh",
|
||||
@ -49,6 +55,7 @@
|
||||
],
|
||||
"macos": [
|
||||
"git",
|
||||
"gitignore",
|
||||
"zsh",
|
||||
"tmux",
|
||||
"nvim",
|
||||
@ -102,6 +109,7 @@
|
||||
],
|
||||
"linux-vm": [
|
||||
"bin",
|
||||
"gitignore",
|
||||
{
|
||||
"package": "htop",
|
||||
"install": "sudo apt install -y htop"
|
||||
@ -126,6 +134,7 @@
|
||||
],
|
||||
"container": [
|
||||
"bin",
|
||||
"gitignore",
|
||||
{
|
||||
"package": "htop",
|
||||
"install": "sudo apt install -y htop"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user