Fastest way to download a GitHub project

前端 未结 8 1395
醉话见心
醉话见心 2020-12-22 17:14

I need to download the source code of the project Spring data graph example into my box. It has public read-only access. Is there is an extremely fast way of downloading thi

8条回答
  •  清歌不尽
    2020-12-22 17:50

    Updated July 2016

    As of July 2016, the Download ZIP button has moved under Clone or download to extreme-right of header under the Code tab:

    Download ZIP (2013)


    If you don't see the button:

    • Make sure you've selected <> Code tab from right side navigation menu, or
    • Repo may not have a zip prepared. Add /archive/master.zip to the end of the repository URL and to generate a zipfile of the master branch.

      http://github.com/user/repository/

    -to-

    http://github.com/user/repository/archive/master.zip
    

    to get the master branch source code in a zip file. You can do the same with tags and branch names, by replacing master in the URL above with the name of the branch or tag.

提交回复
热议问题