diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/git.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix index c0170b4b..e5f4770b 100644 --- a/user/settings/git.nix +++ b/user/settings/git.nix @@ -75,8 +75,10 @@ pending = "!sh -c 'git log --oneline --grep=\"#\" ...$(git lasttag)'"; lg = "log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %Cred%d%Creset'"; prl = "log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %Cred%d%Creset' --grep='#'"; + gen-ignore = "ignore-io"; ignored = "ls-files --others -i --exclude-standard"; - root = "rev-parse --show-toplevel"; + clear = "clear-soft"; + clear-hard = "!git-clear-hard"; }; ignores = [ ".DS_Store" @@ -87,4 +89,7 @@ ".tabnine_root" ]; }; + home.packages = with pkgs; [ + git-extras # delete-merged-branches and friends + ]; } |