« Minimal Reproducible »

Home Tags About

Git shallow clone local repo

Published at 2024-04-22
Last update over 365 days ago Licensed under CC BY-NC-SA 4.0 softwares-and-toolsgitclone

Git shallow clone local repo

ref: https://stackoverflow.com/questions/40383230/git-clone-warning-depth-is-ignored-in-local-clones-use-file-instead

git clone --depth 1 file://$(pwd)/src_repo new_repo

« Minimal Reproducible »

Powered by Astro