diff options
| author | Mel <mel@rnrd.eu> | 2025-12-31 01:20:37 +0100 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-01-11 22:50:52 +0100 |
| commit | ba298b94ba56dabf116a93fbad3e5f96f76a2cb1 (patch) | |
| tree | 0e391cd8afbe178b58c31e9ec8aad1567c1d68f4 /modules/home/common.nix | |
| parent | e969da0511ace3d0910f464eacc1b4db4c2ff93f (diff) | |
| download | minerals-ba298b94ba56dabf116a93fbad3e5f96f76a2cb1.tar.zst minerals-ba298b94ba56dabf116a93fbad3e5f96f76a2cb1.zip | |
Git aliases for skip-worktree
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/home/common.nix')
| -rw-r--r-- | modules/home/common.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix index e59f195..52cdf11 100644 --- a/modules/home/common.nix +++ b/modules/home/common.nix @@ -23,6 +23,11 @@ "*~" "[._]*.sw?" ]; + aliases = { + "skip" = "update-index --skip-worktree"; + "unskip" = "update-index --no-skip-worktree"; + }; + extraConfig.init.defaultBranch = "main"; }; |
