1
0

Improve Git integration: Add dirty worktree validation for pushes, enhance initial repo setup by auto-generating .gitignore rules, and refactor Gitea API error handling.

This commit is contained in:
2026-07-12 11:04:14 +02:00
parent 0fc4ea8da0
commit 72fa7026bf
3 changed files with 149 additions and 16 deletions

View File

@@ -115,7 +115,7 @@
hasReadme: folderPath => invoke('has_readme', { folderPath }),
generateReadme: folderPath => invoke('generate_readme', { folderPath }),
squashCommits: folderPath => invoke('squash_commits', { folderPath }),
pushToGitea: folderPath => invoke('push_to_gitea', { folderPath }),
pushToGitea: (folderPath, allowDirty = false) => invoke('push_to_gitea', { folderPath, allowDirty }),
initRepo: folderPath => invoke('init_repo', { folderPath }),
triggerRewriteNow: folderPath => invoke('trigger_rewrite_now', { folderPath })
};