gitgithubclonegit-clone

Clone a repository from GitHub


I am working on a project where I need to add a drag and drop in a div, then I started looking at libraries on drag and drop which should work on mobile devices too, and found one such library called Dragula.

I tried to clone the repository in my machine. I downloaded git which looks like this but the problem is I am not able to clone the particular library from GitHub,

Git


Solution

  • you have two options:

    1.you can always download as project .zip if you can't setup git properly, or doesn't want to use command line.

    screenshot

    2.use the copy button next to the link and write in command prompt.

    git clone paste-the-link
    

    tip: click right button on mouse to paste

    tip2: how to setup git on windows enter image description here