added git aliases

This commit is contained in:
Wyatt J. Miller 2024-12-29 15:34:06 -05:00
parent 93c8464641
commit 0c8c5c5f2a

View File

@ -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";