@@ -40,6 +40,7 @@ const api = {
|
||||
stage: (paths: string[]) => ipcRenderer.invoke('git:stage', paths),
|
||||
unstage: (paths: string[]) => ipcRenderer.invoke('git:unstage', paths),
|
||||
commit: (message: string) => ipcRenderer.invoke('git:commit', message),
|
||||
push: (): Promise<{ ok: boolean; message: string }> => ipcRenderer.invoke('git:push'),
|
||||
discard: (paths: string[]) => ipcRenderer.invoke('git:discard', paths),
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user