From 7ac9d5228f6a27d5795c03d5f6b9041ef130e464 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 9 Oct 2022 14:06:24 +0200 Subject: profiles/workstation/git: Sort branches by date When you have a lot of branches it's sometimes tedious to find out the ones you've been working on recently. Sorting the branches by committer date by default should make it more obvious. Signed-off-by: aszlig --- modules/user/aszlig/profiles/workstation/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix index aff89628..c6b86413 100644 --- a/modules/user/aszlig/profiles/workstation/default.nix +++ b/modules/user/aszlig/profiles/workstation/default.nix @@ -92,6 +92,7 @@ in { rerere.autoupdate = true; commit.gpgsign = true; pull.rebase = false; + branch.sort = "-committerdate"; merge.tool = "vimdiff3"; merge.conflictstyle = "diff3"; -- cgit 1.4.1