Git : Add gcl for lazy clone, thanks to Fox.

This commit is contained in:
Dmitry Voronin 2024-05-02 01:19:01 +03:00
parent b1860e7ab7
commit b286793e0b
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -54,6 +54,11 @@
git commit -m "''${@}" git commit -m "''${@}"
} }
# Git clone (lazy!).
function gcl() {
git clone --filter tree:0 "''${@}"
}
# Git signed commit. # Git signed commit.
function gcs() { function gcs() {
git commit -S -m "''${@}" git commit -S -m "''${@}"