Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qiushiyan/degit

Go port of degit https://github.com/rich-harris/degit
https://github.com/qiushiyan/degit

Last synced: about 2 months ago
JSON representation

Go port of degit https://github.com/rich-harris/degit

Awesome Lists containing this project

README

        

# go-degit

Go port of [degit](https://github.com/rich-harris/degit).

Usage

```bash
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

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

```