Feat/shell tmux git tooling #20
@@ -16,6 +16,9 @@
|
||||
package = pkgs.gitFull;
|
||||
settings = {
|
||||
user.name = fullName;
|
||||
# Personal identity. mkDefault so the work module overrides it on the work
|
||||
# host (and to merge cleanly with that plain definition there).
|
||||
user.email = lib.mkDefault "iam@emmathe.dev";
|
||||
push.autoSetupRemote = true;
|
||||
init.defaultBranch = "main";
|
||||
|
||||
@@ -48,6 +51,10 @@
|
||||
last = "log -1 HEAD";
|
||||
unstage = "reset HEAD --";
|
||||
lg = "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)' --all";
|
||||
# commitizen (Conventional Commits, its default ruleset): `git cz c` ->
|
||||
# `cz commit`, `git cz bump`, etc. `git cc` is a shortcut for the prompt.
|
||||
cz = "!cz";
|
||||
cc = "!cz commit";
|
||||
};
|
||||
|
||||
# SSH commit signing on personal hosts too (the work module sets the same
|
||||
|
||||
Reference in New Issue
Block a user