Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 570 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 570 Bytes

go-degit

Go port of degit.

Usage

degit user/repo#ref output-dir

This downloads the github repository `https://github.com/user/repo" at "ref", ref could be a branch, a tag or commit hash. If ref is empty, the main branch will be used. You can specify subdirectories and use Gitlab and Bitbucket repositories as well. degit also maintains a cache to save downloads and keep refs updated.

Installation

brew tap qiushiyan/degit https://github.com/qiushiyan/degit
brew install qiushiyan/degit/degit