DEV Community

Cover image for Learn GIT - degit
Arya Krishna
Arya Krishna

Posted on

Learn GIT - degit

degit is almost similar to git clone. degit makes copies of git repositories. When you rundegit some-user/some-repo, it will find the latest commit on https://github.com/some-user/some-repo and download it.

Advantage of degit over git clone - quicker than using git clone, because we're not downloading the entire git history.

To install the package for degit

npm install -g degit
Enter fullscreen mode Exit fullscreen mode

More resources to degit -
What does Degit exactly stand for?

Docs on degit

Showing the usage of degit in a svelte project

Top comments (0)