git: Add global rebase and ignore

Update git config to have new rebase settings and global ignore file

Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
2026-02-24 21:58:08 -06:00
parent 6bac697631
commit 8ebf4c5316
3 changed files with 17 additions and 0 deletions

View File

@@ -19,6 +19,11 @@ repo_path = "git/gitmessage"
system_path = "~/.gitmessage" system_path = "~/.gitmessage"
type = "file" type = "file"
[tools.git.ignore]
repo_path = "git/gitignore"
system_path = "~/.gitignore"
type = "file"
[tools.tmux] [tools.tmux]
repo_path = "tmux/tmux.conf" repo_path = "tmux/tmux.conf"
system_path = "~/.tmux.conf" system_path = "~/.tmux.conf"

View File

@@ -9,3 +9,14 @@
tool = nvimdiff tool = nvimdiff
[gpg] [gpg]
program = gpg program = gpg
[push]
autoSetupRemote = true
[rebase]
autosquash = true
updateRefs = true
rebaseMerges = true
autoStash = true
rescheduleFailedExec = true
backend = merge
[core]
excludesFile = ~/.gitignore

1
git/gitignore Normal file
View File

@@ -0,0 +1 @@
*.orig