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:
@@ -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"
|
||||||
|
|||||||
@@ -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
1
git/gitignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.orig
|
||||||
Reference in New Issue
Block a user