Skip to content

Commit 1e0fbd5

Browse files
committed
Add git push handler in App
Implement the onPush callback to execute the git push command via state.
1 parent 2e249d7 commit 1e0fbd5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ const App: React.FC = () => {
242242
onPush={() => state.runGitCommand(['push'], tr('Erfolgreich gepusht.', 'Push completed successfully.'), tr('Push wird ausgefuehrt...', 'Running push...'))}
243243
onPushForceWithLease={() => state.runGitCommand(['push', '--force-with-lease'], tr('Erfolgreich mit force-with-lease gepusht.', 'Push with force-with-lease completed successfully.'), tr('Push --force-with-lease wird ausgefuehrt...', 'Running push --force-with-lease...'))}
244244
onPushTags={() => state.runGitCommand(['push', '--tags'], tr('Tags erfolgreich gepusht.', 'Tags pushed successfully.'), tr('Push --tags wird ausgefuehrt...', 'Running push --tags...'))}
245+
onOpenRepoWorkspace={() => state.setActiveTab('repo')}
245246
settings={state.settings}
246247
onUpdateSettings={state.handleUpdateSettings}
247248
jobs={state.jobs}

0 commit comments

Comments
 (0)