From a92770848e336e08f8c04752e49ff48439c38410 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 18:48:01 +0100 Subject: [PATCH] gcf --- shell/alias/git.sh | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/shell/alias/git.sh b/shell/alias/git.sh index ce073a0..5bec3a2 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -73,19 +73,14 @@ gbs() { "${@}" } -# clone a remote repository -alias gc="\ -git \ -clone \ -" - # clean untracked files -alias gcf="\ -git \ -clean \ --d \ ---force \ -" +gcf() { + git \ + clean \ + -d \ + --force \ + "${@}" +} # commit the index alias gcm="\