Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PublicShell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢卓城
PublicShell
Commits
2067c0f8
Commit
2067c0f8
authored
Feb 20, 2021
by
谢卓城
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化删除git逻辑
parent
dd20c95c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
MiniprogramTemplate.sh
MiniprogramTemplate.sh
+1
-2
No files found.
MiniprogramTemplate.sh
View file @
2067c0f8
...
...
@@ -25,7 +25,7 @@ echo "########## 开始下载小程序模板 ##########"
git clone http://git.changein.cn/xzc168520/miniprogramtemplate.git
# 删除下载小程序模板的.git
rm
-rf
.git
find
.
-name
".git"
| xargs
rm
-Rf
# 移动小程序模板的文件并删除空文件夹
mv
{
miniprogramtemplate/
*
,miniprogramtemplate/.
*
}
./
...
...
@@ -109,7 +109,6 @@ fi
# 初始化 git
git init
git remote remove origin
echo
"########## 启动小程序实时服务 ##########"
npm run dev
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment