# shell-script **Repository Path**: triski/shell-script ## Basic Information - **Project Name**: shell-script - **Description**: 常用的 shell 工具脚本 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-03 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Bash Script [gitclone](./gitclone) 利用 git 的 sparse-checkout 特性所写的,用于获取 git 仓库下的某个目录,语法如下 > `bash gitclone ${git_repo_url} ${dir}` [gitpush](./gitpush) 一个快速提交到远程仓库的脚本,语法如下 *(中括号表示可选)* > `bash gitpush [$remote] [$branch]` [summary](./summary) 为 gitbook 项目生成 SUMMARY.md,只要在需要执行的目录下执行 > `bash summary` **建议将这些脚本加入环境变量,执行的时候就可以直接执行了**