Skip to content

Commit

Permalink
Update git config
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskala committed Feb 25, 2025
1 parent 0e9696f commit beb6429
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion home/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@
};

init.defaultBranch = "main";
fetch.prune = true;
pull.ff = "only";

fetch = {
prune = true;
pruneTags = true;
};

push = {
autoSetupRemote = true;
followTags = true;
};

rebase = {
autoSquash = true;
autoStash = true;
Expand All @@ -33,6 +42,8 @@
};

diff.algorithm = "histogram";
branch.sort = "-committerdate";
tag.sort = "version:refname";
};
};
}

0 comments on commit beb6429

Please sign in to comment.