fix(git): improve git config for delta + LM HTTPS
This commit is contained in:
@@ -2,6 +2,15 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
programs.gitui.enable = true;
|
programs.gitui.enable = true;
|
||||||
|
programs.delta = {
|
||||||
|
enable = true;
|
||||||
|
enableGitIntegration = true;
|
||||||
|
options = {
|
||||||
|
navigate = true;
|
||||||
|
dark = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitFull;
|
package = pkgs.gitFull;
|
||||||
@@ -23,14 +32,6 @@
|
|||||||
"CLAUDE.local.md"
|
"CLAUDE.local.md"
|
||||||
];
|
];
|
||||||
|
|
||||||
delta = {
|
|
||||||
enable = true;
|
|
||||||
options = {
|
|
||||||
navigate = true;
|
|
||||||
dark = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
alias = {
|
alias = {
|
||||||
co = "checkout";
|
co = "checkout";
|
||||||
@@ -65,6 +66,10 @@
|
|||||||
|
|
||||||
# see https://adamj.eu/tech/2022/10/15/how-to-rebase-stacked-git-branches/
|
# see https://adamj.eu/tech/2022/10/15/how-to-rebase-stacked-git-branches/
|
||||||
rebase.updateRefs = true;
|
rebase.updateRefs = true;
|
||||||
|
|
||||||
|
"url \"git@gitlab.lundimatin.app:\"" = {
|
||||||
|
insteadOf = "https://gitlab.lundimatin.app/";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user