导出未提交文件
![](https://i-blog.csdnimg.cn/blog_migrate/ce1c3c063b732be3ee460a747adc6b21.png)
export.sh
#仓库路径
REPO_PATH=$1
#文件的类型
FOLDER="/CYWORK/GIT_EXPORT_FILES"
FOLDER_DATE=`date +%Y%m%d_%H_%M_%S`
PROJECT_NAME=${REPO_PATH##*/}
for arg in "$@"
do
if [ $1 != $arg ]
then
|