Skip to content

Commit

Permalink
modify helping scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhaopudark committed Jan 20, 2024
1 parent dc06588 commit 9a141b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Scripts/commit_and_push.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ param (

$currentBranch = git rev-parse --abbrev-ref HEAD
if ($currentBranch -eq "main") {
git branch -D dev
git switch -c dev

# 如果当前分支是 dev 分支,则进行 commit 操作
. "${PSScriptRoot}/build.ps1"
git add . # 添加需要提交的文件(假设你要提交所有文件)
Expand Down

0 comments on commit 9a141b1

Please sign in to comment.