chore(subtree): 更新子树脚本逻辑

develop
dynastxu 3 months ago
parent 3240542cb9
commit a5637dad09

@ -1,10 +1,9 @@
@echo off
git subtree pull --prefix=src/DjangoBlog DjangoBlog g3f-CodeEdit --squash && (
git add .
git commit -m "Update subtree"
git push
echo Done!
) || (
echo Failed!
echo Updating Git subtree...
git subtree pull --prefix=src/DjangoBlog DjangoBlog g3f-CodeEdit --squash -m "update subtree"
if %errorlevel% equ 0 (
echo Subtree update successful!
) else (
echo Subtree update failed!
)
pause
Loading…
Cancel
Save