Add automatic git commit for cfgdeploy changes in NewProject.bat

This commit is contained in:
Nathan
2026-06-11 10:18:19 -06:00
parent 33262d74d3
commit 912f1d07fa
+9
View File
@@ -99,6 +99,15 @@ if errorlevel 1 (
echo [WARNING] Config workflow deployment failed. You may need to run CfgDeploy.ps1 manually.
) else (
echo Config workflow deployed successfully.
pushd "%projectRoot%" >nul
git add .
git commit -m "cfgdeploy"
if errorlevel 1 (
echo [WARNING] No cfgdeploy changes to commit, or commit failed.
) else (
echo cfgdeploy changes committed.
)
popd >nul
)
echo Project structure created successfully in folder: %projectRoot%