fix: 检出后删除未跟踪的文件
This commit is contained in:
parent
cfde366234
commit
5bd6acc4ac
|
|
@ -78,6 +78,7 @@
|
|||
|
||||
echo 'Checkout {{ $commit }}'
|
||||
git checkout {{ $commit }}
|
||||
git clean -xfd
|
||||
@else
|
||||
echo 'Clone {{ $branch }} to {{ $new_release_dir }} with 1 depth'
|
||||
git clone -b {{ $branch }} --depth 1 {{ $repository }} {{ $new_release_dir }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user