Github - Download project (Beginner)

Asked

Viewed 12,679 times

0

I’m getting started on Git-Hub... I downloaded the Git-Hub version for Windows (GUI version). I can create repository, commit, and post.

I wanted to know how I can download a project made by another user, make modifications and submit them ? It is possible to download the projects of other users in . ZIP?

Att,

1 answer

1


If you want to copy an existing Git repository - for example, a project you want to contribute - the required command is git clone, for example:

$ git clone git://github.com/schacon/grit.git

This creates a directory called grit, initializes a directory .git inside this, gets all the data from the repository and checks the current copy of the latest version. If you enter the new directory grit, you will see all the project files in it, ready to be edited or used.

After making your contributions, just make the commit, the repository owner in turn, will have to authorize it, otherwise its commit's will not be added to the repository.

  • Github.com/shacon would be the project address I want to download?

  • No, this address refers to the user, github.com/schacon/Grit is the project itself, if you want to access it through your browser, but to clone it you must add the .git. (Note: this via command, but at the project address there is a visual button to clone the project)

  • I tried to access this project that you passed me through the browser, but the option to clone does not appear. Appears Create New File, Upload Filet, Find File Other Options Less Clone.

  • http://imgur.com/a/LGGPH

  • I did. I understand we have to clone an entire repository. If there have been several projects within the project do not have the option to clone a specific directory.

  • Exactly, don’t forget to select a response that solved your problem to help other people who eventually have this question and come to seek answers here. Abrass

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.