Copy files from Git repository to local.
We are planning to add some installers support in the future.
e.g.
For now, manually install prebuilt binary from GitHub Releases page:
or install from source via:
cargo install gitcp
``` $ gitcp --help gitcp 0.3.1 Copy files from Git repository to local.
USAGE:
gitcp
FLAGS: -h, --help Prints help information -V, --version Prints version information
ARGS:
Copy all files from https://github.com/owner/repo to current directory.
gitcp owner/repo
gitcp owner/repo tmp/repo
gitcp owner/repo@v1
gitcp owner/repo/foo.txt
You can specify globwalk powered glob patterns.
gitcp owner/repo/{foo,bar}.*
If there is .gitcpignore
in the copied repository side, it will be used to ignore files.
```bash
CHANGELOG.md README.md ```
This tool can be used not only to simply copy files from any repository, but also as an installer to provide templates for custom GitHub actions.
This is an example to install github-label-sync-action into the repository:
gitcp r7kamura/github-label-sync-action-template
If you always prepare routine files every time you create a repository, I think you can make it easier with gitcp
by preparing that template.