From df8722644ba0b879d15148d381c040e3025f4f6e Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 3 Apr 2025 15:23:37 +0300 Subject: [PATCH] git alias a --- home/user/.config/git/aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/user/.config/git/aliases b/home/user/.config/git/aliases index 2ce1b4c..2ce5622 100644 --- a/home/user/.config/git/aliases +++ b/home/user/.config/git/aliases @@ -2,7 +2,7 @@ [alias] - a = "!git ls-files --exclude-standard -m --others -t | fzf -1 -0 -m --bind load:last --preview 'git diff --color=always {2}' | cut -d' ' -f2 | xargs -r git add" + a = "!git ls-files --exclude-standard --modified -t | fzf -1 -0 -m --bind load:last --preview 'git diff --color=always {2}' | cut -d' ' -f2 | xargs -r git add" u = "!git diff --name-only --cached | fzf -1 -0 -m --bind load:last --preview 'git diff --staged --color=always {1}' | xargs -r git restore --staged" d = diff di = diff