Documentation
¶
Overview ¶
Gigit the repository downloader
Gigit is inspired by degit a repository downloader written by Rich Harris in JavaScript. Gigit has almost the same features as degit. Downloading repositories, caching features, and some still in development.
## Simple usage example:
gigit <user>/<repo>
In the example above, gigit will download the GitHub respository with the username <user> and the repository that has the name <repo>.
## Spesific branch, commit hash, tag
You can use specific branches, commits, or tags with a `#`
gigit user/repo#dev gigit user/repo#691c0bf // on spesific tag, "v" is required gigit user/repo#v1.0.0
## Subdirectory
Download sub directory only of a repository.
gigit user/repo/dir gigit nazhard/gigit/cmd/gigit
## Commands
Clone instead of download. With cloning, you will get a .git folder
gigit clone user/repo // Clone with `--depth=1` if you just want to fix typo gigit c1 user/repo // or gigit 1 user/repo
Click to show internal directories.
Click to hide internal directories.