DEV Community


Discussion on: Clone just the sub-folder in GIT 🔥

waleedtageldeen profile image
Waleed Tageldeen • Edited

To get only the latest n commits not the full history you can use the --depth option with git clone. Check this example

insanenaman profile image
Naman Gupta Author

Thanks for pointing out. Yes it's a way and author of this package has also addressed here -

Forem Open with the Forem app