ADD gitconfig - initial commit

alacritty
Alexandre LUCAZEAU 2022-08-05 14:16:06 +02:00
parent 7628e65db6
commit 3fd2175042
No known key found for this signature in database
GPG Key ID: 3C8ADB07A8217BD3
4 changed files with 36 additions and 3 deletions

View File

@ -12,6 +12,7 @@
./services.nix
./scanner.nix
./packages.nix
../modules/prometheus-node.nix
];
# Use the systemd-boot EFI boot loader.

View File

@ -9,8 +9,9 @@
./emacs.nix
./mails.nix
./dunst.nix
./redshift.nix
../../../modules/neovim.nix
# ./redshift.nix
# ../../../modules/neovim.nix
../../../modules/rust.nix
];
home.keyboard = {
layout = "fr";

View File

@ -8,7 +8,7 @@
day = 5500;
night = 4500;
};
brightness = {
settings.redshift.brightness = {
day = "1.0";
night = "0.9";
};

31
modules/.gitconfig Normal file
View File

@ -0,0 +1,31 @@
[alias]
aa = add --all
b = branch -v
bd = branch -d
bD = branch -D
br = branch
ci = commit
cim = commit -m
cima = commit -am
clr = rm -r --cached
co = checkout
cp = cherry-pick -x
d = diff -w
dc = diff --cached
nb = checkout -b
oups = commit --amend --no-edit
r = remote -v
rh = reset --hard
st = status -sb
t = tag -l
unstage = reset HEAD
uncommit = reset --soft HEAD^
pushfl = push --force-with-lease
lg = lg1
lg1 = lg1-specific --all
lg2 = lg2-specific --all
lg3 = lg3-specific --all
lg1-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)'
lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg3-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'