commit 7c80edfc21c286bee368d615bb2773ed2049771b
parent 5964fde1296dc6e30f640c89061af6f0bd795f03
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Wed, 12 May 2021 21:34:05 +0200
Add git shortcut for shallow clone
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.config/git/config b/.config/git/config
@@ -18,6 +18,7 @@
psf = push --force
s = status --short
sh = stash
+ shallow = clone --depth 1 --shallow-submodules --recurse-submodules
shp = stash pop
st = status
vd = difftool --tool=vimdiff --no-prompt