GitHub entry: Download a project from github

Source: Internet
Author: User
Tags version control system

As a popular version control system, git is widely used by Internet companies. Currently, foreign websites include GitHub, and domestic websites include CSDN and OSCHINA git.

Git allows you to easily implement multi-person collaboration and version control. As a beginner, I will first look at how to use github from my perspective. I pay attention to operations rather than principles.

If you want to learn more about git, you are advised to read documents such as git getting started.


This article describes how to use other people's Code. At first, github was used as a good place to download open-source libraries. When I need an actionbar, chart, and menu for android, git can always find them. There are many of the world's best programmers working here. To make our development faster, we need to use the projects they have prepared.


1. Open github, and there will be a search box at the top. Enter the libraries we may use, such as chart.



2. All public chart items in github will be searched:



3. Because I am working on Android, here I select JAVA


We can see that here we are satisfied with the screening, and there are as many as 472 projects, choose the first one:


4. Android-charts

After opening Android-Charts, we can see a project interface: the main interface is the project name and code tree, and the right side is some properties of the project (topics, submissions, people, etc ), below is an introduction to the project:



In the code structure area, you can click a file to view the content of the current file.

In the project introduction area, the author will introduce the functions and usage of the project.

If you want to directly DownLoad the compressed package of this project, click DownLoad ZIP in the lower right corner;

If you want to directly Import the project to Eclipse (because I am working on android), open Eclipse, select File --> Import --> Projects from git --> URI, enter the HTTPS URL -- next


Select a branch, for example, Master --> next --> and select Save directory. eclipse automatically downloads the content for us.


Finally, we can import the project !~


The advantage is that there will be a git address. If the author updates the program one day, we can easily update our local git library.


Reprinted please indicate from: http://blog.csdn.net/icyfox_bupt/article/details/22966629

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.