git: always use main email
This commit is contained in:
parent
da7aff32ae
commit
5f3c944bba
3 changed files with 5 additions and 16 deletions
|
@ -6,7 +6,6 @@
|
|||
./hardware.nix
|
||||
./fan.nix
|
||||
./fish.nix
|
||||
./git.nix
|
||||
./hosts.nix
|
||||
./programs.nix
|
||||
./sway.nix
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
home-manager,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home-manager.users.caspervk = {
|
||||
programs.git = {
|
||||
userEmail = lib.mkForce "vk@magenta.dk";
|
||||
aliases = {
|
||||
# https://docs.gitlab.com/ee/user/project/push_options.html
|
||||
mr = "push --push-option=merge_request.create --push-option=merge_request.assign='vk'";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -28,6 +28,11 @@
|
|||
rebase.autoStash = true;
|
||||
rebase.updateRefs = true;
|
||||
};
|
||||
|
||||
aliases = {
|
||||
# https://docs.gitlab.com/ee/user/project/push_options.html
|
||||
mr = "push --push-option=merge_request.create --push-option=merge_request.assign='vk'";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue