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="\