diff --git a/.bashrc b/.bashrc index 39e4b6c..cb82e6c 100644 --- a/.bashrc +++ b/.bashrc @@ -445,6 +445,9 @@ _git_() { alias gs="git status" alias gm='git checkout main && git merge' alias gc="git clone --recurse-submodule" + gcl() { + git clone --depth=1 "https://github.com/$*" + } alias ga="git add" alias gp="git pull --recurse-submodule" alias gms='git maintenance start'