DEV Community 👩‍💻👨‍💻

DEV Community 👩‍💻👨‍💻 is a community of 966,155 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Rushan S J
Rushan S J

Posted on

Single Folder Git clone?

How do you clone a single folder from a repo?

  1. git clone --no-checkout <link>
  2. cd <cloned folder>
  3. git sparse-checkout init --cone
  4. git sparse-checkout set <Folder Name>/
  5. git checkout

Voilà !

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.