Skip to content

Commit

Permalink
Add new git configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtwco committed Apr 2, 2024
1 parent 65f5a54 commit 9589368
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions home/configs/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,30 +56,47 @@ in
};
core.editor = config.home.sessionVariables."EDITOR" or "vim";
diff = {
algorithm = "histogram";
compactionHeuristic = true;
context = 10;
indentHeuristic = true;
submodule = "log";
};
feature = {
experimental = true;
# See rust-lang/cargo#11857.
manyFiles = false;
};
fetch.writeCommitGraph = true;
fetch = {
fsckObjects = true;
prune = true;
pruneTags = true;
writeCommitGraph = true;
};
init.defaultBranch = "main";
merge.conflictStyle = "zdiff3";
pull.rebase = true;
push = {
autoSetupRemote = true;
default = "simple";
default = "current";
followTags = true;
};
status.showStash = true;
status = {
showStash = true;
submoduleSummary = true;
};
stash.showPatch = true;
submodule.fetchJobs = 4;
submodule = {
fetchJobs = 4;
recurse = false;
};
transfer.fsckObjects = true;
rebase = {
autosquash = true;
autostash = true;
updateRefs = true;
};
receive.fsctObjects = true;
rerere.enable = true;
user.useConfigOnly = true;
};
Expand Down

0 comments on commit 9589368

Please sign in to comment.