Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/qiushiyan/degit
- Owner: qiushiyan
- License: mit
- Created: 2024-05-22T05:19:36.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-23T17:49:43.000Z (8 months ago)
- Last Synced: 2024-06-08T15:23:19.455Z (7 months ago)
- Language: Go
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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```