blob: 0adc1eb6c1a51abce21d6c8487f86edfc65ab84d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# This module defines my personal git aliases. Some of these are
# pseudo-subcommands which are easier to remember while others simply save me
# some keystrokes.
{...}: {
programs.git.aliases = {
unstage = "restore --staged";
};
home.shellAliases = {
gs = "git status";
gd = "git diff --";
gl = "git log --oneline";
gc = "git commit";
gcp = "git commit --patch";
gf = "git commit --amend --no-edit --";
gfp = "git commit --amend --no-edit --patch --";
ga = "git add --";
gan = "git add -N";
gap = "git add --patch";
gu = "git unstage";
};
}
|