user12775894
user12775894

Reputation:

What does Degit exactly stand for?

I have searched thoroughly for the full form of Degit, but could not find it anywhere. What does it exactly stand for?

Please provide any link to further read about how/why it was developed.

Upvotes: 17

Views: 9297

Answers (2)

user7368531
user7368531

Reputation:

The intended meaning of degit must be depth git. It is a package which performs tasks very similar to what git clone --depth 1 does and the intention is that it should make copies of git repositories.

You can read further on this in degit's documentation provided in npmjs site.

Upvotes: 4

vicpermir
vicpermir

Reputation: 3702

I'm not sure I understood your question but I think Degit is meant to be de- (prefix meaning to undo, like in deactivate) and -git (version control). In other words, to download a project that uses git for version control, but without git (basically without the .git folder).

Probably the most accurate description comes from the official git repository:

degit makes copies of git repositories. When you run degit some-user/some-repo, it will find the latest commit on https://github.com/some-user/some-repo and download the associated tar file to ~/.degit/some-user/some-repo/commithash.tar.gz if it doesn't already exist locally. (This is much quicker than using git clone, because you're not downloading the entire git history.)

Also, if you still do not understand the reasoning for Degits existence I suggest reading the Wait, isn't this just git clone? section.

Upvotes: 29

Related Questions