We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af47da5 commit fc799b8Copy full SHA for fc799b8
1 file changed
src/main.tsx
@@ -77,7 +77,8 @@ if (isDevelopment) {
77
}),
78
commit: debounce(async function () {
79
hidePopup();
80
- commit(true, `[logseq-plugin-git:commit] ${new Date().toISOString()}`);
+ await commit(true, `[logseq-plugin-git:commit] ${new Date().toISOString()}`);
81
+ checkStatus();
82
83
push: debounce(async function () {
84
setPluginStyle(LOADING_STYLE);
@@ -192,6 +193,17 @@ if (isDevelopment) {
192
193
});
194
}
195
196
+ logseq.App.registerCommandPalette(
197
+ {
198
+ key: "logseq-plugin-git:commit",
199
+ label: "Commit",
200
+ keybinding: {
201
+ binding: "alt+shift+s",
202
+ mode: "global",
203
+ },
204
205
+ () => operations.commit()
206
+ );
207
logseq.App.registerCommandPalette(
208
{
209
key: "logseq-plugin-git:commit&push",
0 commit comments