feat(system): 用户主题配置持久化
This commit is contained in:
@@ -34,6 +34,8 @@ if ($LASTEXITCODE -eq 0) {
|
||||
throw "当前没有已暂存的改动,请先执行 git add。"
|
||||
}
|
||||
|
||||
$stagedFiles = @(git -C $repoRoot diff --cached --name-only)
|
||||
|
||||
$types = @(
|
||||
'feat',
|
||||
'feat-wip',
|
||||
@@ -82,6 +84,11 @@ $message = "{0}({1}): {2}" -f $type, $scope, $description
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "提交信息预览:$message"
|
||||
Write-Host ""
|
||||
Write-Host "本次将提交以下已暂存文件:"
|
||||
foreach ($file in $stagedFiles) {
|
||||
Write-Host " - $file"
|
||||
}
|
||||
|
||||
$confirm = Read-Host '确认提交请输入 y,取消请输入其他任意内容'
|
||||
if ($confirm -ne 'y' -and $confirm -ne 'Y') {
|
||||
|
||||
Reference in New Issue
Block a user