Skip to content

qiushiyan/degit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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