feat: configure git
parent
74e1115543
commit
12d630705c
|
@ -29,15 +29,27 @@
|
||||||
userName = "Michael Mandl";
|
userName = "Michael Mandl";
|
||||||
userEmail = "mandlm@molez.net";
|
userEmail = "mandlm@molez.net";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
core.editor = "nvim";
|
user.private.name = "Michael Mandl";
|
||||||
fetch.writeCommitGraph = true;
|
user.private.email = "mandlm@molez.net";
|
||||||
format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s";
|
user.private.signingkey = "4AA25D647AA54CC7";
|
||||||
|
|
||||||
|
user.swp.name = "Michael Mandl";
|
||||||
|
user.swp.email = "mandl@vi-bim.de";
|
||||||
|
user.swp.signingkey = "4E60F44227F611B4";
|
||||||
|
|
||||||
|
core.editor = "nvim";
|
||||||
|
fetch.writeCommitGraph = true;
|
||||||
|
format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s";
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
log.date = "relative";
|
log.date = "relative";
|
||||||
pull.rebase = true;
|
pull.rebase = true;
|
||||||
rebase.autostash = true;
|
rebase.autostash = true;
|
||||||
rerere.enabled = true;
|
rerere.enabled = true;
|
||||||
worktree.guessRemote = true;
|
worktree.guessRemote = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
aliases = {
|
||||||
|
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; :";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -46,7 +58,7 @@
|
||||||
theme = "Solarized Dark";
|
theme = "Solarized Dark";
|
||||||
font = {
|
font = {
|
||||||
name = "DejaVu Sans Mono";
|
name = "DejaVu Sans Mono";
|
||||||
size = 12;
|
size = 12;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue