fix: make commit sync use safe sync flow

Rename commit push action to Commit & sync
Use fetch and rebase before pushing committed changes
Keep sync result toasts consistent
This commit is contained in:
Bohdan Triapitsyn
2026-05-06 00:12:39 +03:00
parent 16c349417f
commit 8540f51395
7 changed files with 67 additions and 20 deletions
+3 -3
View File
@@ -424,9 +424,9 @@ export const dict = {
'gitView.commit.generate': 'Generate',
'gitView.commit.generateAria': 'Generate commit message',
'gitView.commit.messagePlaceholder': 'Commit message',
'gitView.commit.push': 'Push',
'gitView.commit.pushAria': 'Push',
'gitView.commit.pushing': 'Pushing...',
'gitView.commit.push': 'Commit & sync',
'gitView.commit.pushAria': 'Commit and sync',
'gitView.commit.pushing': 'Syncing...',
'gitView.commit.selectFilesHint': 'Select files in Changes to enable commit.',
'gitView.commit.title': 'Commit',
'gitView.common.cancel': 'Cancel',