From 5ead5b9a019303e007230f795ec7ce4e1f29584c Mon Sep 17 00:00:00 2001 From: Alan Norton Date: Tue, 24 Dec 2024 07:33:32 -0500 Subject: [PATCH] shorter git aliases --- .gitconfig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index 6111e49..d4008b7 100644 --- a/.gitconfig +++ b/.gitconfig @@ -82,10 +82,11 @@ up = "!git f && hub sync" - modified = "!git ls-files --modified" - deleted = "!git ls-files --deleted" - untracked = "!git ls-files --others --exclude-standard" - new = untracked + # list specific sets of files + mod = "!git ls-files --modified ." + del = "!git ls-files --deleted ." + new = "!git ls-files --others --exclude-standard" + # ignored = "!git ls-files --others --ignored --exclude-standard * **/*" # ignore untracked files in this specific repo is-it-just-me = "!$EDITOR .git/info/exclude"