diff --git a/home/git.nix b/home/git.nix index 532edb6..fdaaebc 100644 --- a/home/git.nix +++ b/home/git.nix @@ -3,10 +3,6 @@ userEmail, ... }: { - # `programs.git` will generate the config file: ~/.config/git/config - # to make git use this config file, `~/.gitconfig` should not exist! - # - # https://git-scm.com/docs/git-config#Documentation/git-config.txt---global home.activation.removeExistingGitconfig = lib.hm.dag.entryBefore ["checkLinkTargets"] '' rm -f ~/.gitconfig ''; @@ -30,6 +26,8 @@ aliases = { # common aliases + a = "add"; + ap = "add -p"; br = "branch"; co = "checkout"; st = "status -sb";