home/git: add alias for git tree-sync sync

I decided to implement this as a shell alias, to allow directly
referencing the package here instead of relying on it to be in path.
This commit is contained in:
Trolli Schmittlauch 2026-02-27 23:36:23 +01:00
parent 5a0ca84534
commit 5acb380fc0

View file

@ -47,6 +47,7 @@
programs.git = { programs.git = {
enable = true; enable = true;
settings = { settings = {
alias.ts = "!${lib.getExe pkgs.fc-scripts.git-tree-sync} sync";
credential.helper = "cache"; credential.helper = "cache";
push.default = "simple"; push.default = "simple";
push.forceIfIncludes = true; # avoid accidental force overrides when remote is autofetched in background push.forceIfIncludes = true; # avoid accidental force overrides when remote is autofetched in background