feat(git): misc config updates + tig -> gitui
This commit is contained in:
@@ -56,7 +56,6 @@
|
||||
fzf
|
||||
bat
|
||||
bat-extras.prettybat
|
||||
delta
|
||||
|
||||
atool
|
||||
unzip
|
||||
@@ -78,7 +77,6 @@
|
||||
udiskie
|
||||
tldr
|
||||
|
||||
gitAndTools.tig
|
||||
git-filter-repo
|
||||
meld
|
||||
glab
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.gitui.enable = true;
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitAndTools.gitFull;
|
||||
|
||||
# TODO: https://www.imagile.fr/utiliser-automatiquement-plusieurs-identites-sur-git/
|
||||
userEmail = "pierre@front-commerce.com";
|
||||
userName = "Pierre Martin";
|
||||
|
||||
@@ -25,11 +27,9 @@
|
||||
".vscode"
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
# see https://github.com/dandavison/delta#get-started
|
||||
core.pager = "delta";
|
||||
interactive.diffFilter = "delta --color-only";
|
||||
delta.navigate = true;
|
||||
delta.enable = true;
|
||||
extraConfig = {
|
||||
merge.conflictstyle = "diff3";
|
||||
diff.colorMoved = "default";
|
||||
|
||||
@@ -46,6 +46,9 @@
|
||||
|
||||
# see https://michaelheap.com/git-ignore-rev/
|
||||
blame.ignoreRevsFile = ".git-blame-ignore-revs";
|
||||
|
||||
# see https://adamj.eu/tech/2022/10/15/how-to-rebase-stacked-git-branches/
|
||||
rebase.updateRefs = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user