mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-21 23:11:28 +01:00
feat(home/base/core/git.nix): trim.bases
This commit is contained in:
1 parent
c65018f450
commit
e97e61c8d2
1 file changed
+2
-1
@@ -25,7 +25,7 @@
|
||||
|
||||
includes = [
|
||||
{
|
||||
# use diffrent email & name for work
|
||||
# use different email & name for work
|
||||
path = "~/work/.gitconfig";
|
||||
condition = "gitdir:~/work/";
|
||||
}
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
trim.bases = "develop,master,main"; # for git-trim
|
||||
push.autoSetupRemote = true;
|
||||
pull.rebase = true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user