Help generate .gitignore files for git repositories.The gitignore template file is from the https://github.com/github/gitignore.git
If there is no rust environment, please install rust.
If there is a rust environment/installed
shell
cargo install creat_gitignore
Please execute the init command when using it for the first time.
shell
cgi init
Re-execution will pull the latest template data from GitHub again.
View the list of templates.
shell
cgi ls
shell
cgi help
If you want to add a Java project gitignore template file to a directory /a/b/c
shell
cd /a/b/c
cgi Java
Run the ls command to view the supported templates
shell
cargo unistall creat_gitignore