mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Remove master.lock or it will stuck git reset
This commit is contained in:
parent
bb4f341b58
commit
4e58757ff8
@ -53,7 +53,8 @@ class GitManager(DeployConfig):
|
||||
# Remove git lock
|
||||
for lock_file in [
|
||||
'./.git/index.lock',
|
||||
'./.git/HEAD.lock'
|
||||
'./.git/HEAD.lock',
|
||||
'./.git/refs/heads/master.lock',
|
||||
]:
|
||||
if os.path.exists(lock_file):
|
||||
logger.info(f'Lock file {lock_file} exists, removing')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user