diff --git a/home/modules/git.nix b/home/modules/git.nix index ed76f9d..2ca4a26 100644 --- a/home/modules/git.nix +++ b/home/modules/git.nix @@ -27,6 +27,11 @@ in type = "cat-file -t"; dump = "cat-file -p"; graph = "log --graph --decorate --pretty=oneline --abbrev-commit"; + + # local patch-wise ignore workflow + unchanged = "update-index --assume-unchanged"; + changed = "update-index --no-assume-unchanged"; + show-unchanged = ''!"git ls-files -v | sed -e 's/^[a-z] //p; d'\"'' }; extraConfig = {