added git aliases
This commit is contained in:
parent
93c8464641
commit
0c8c5c5f2a
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user