degit-rs is a rust rewrite of degit. It downloads copies of git repositories from the internet, without the need for git clone
. This is faster, since it does not download the .git
folder (which contains all the git history) and allows you to initialize a new repository afterwards. It is useful for downloading project boilerplate templates.
cargo install degit
degit https://gitlab.gnome.org/bilelmoussaoui/gtk-rust-template my_new_project
degit sveltejs/template my-svelte-project