|
4 | 4 | [](https://github.com/haydenull/logseq-plugin-git/releases) |
5 | 5 | [](https://github.com/haydenull/logseq-plugin-git/blob/main/LICENSE) |
6 | 6 |
|
| 7 | +Logseq Git Plugin is a plugin for Logseq that provides easy access to common git commands, and helps you keep your notes synchronized with a remote git repository. |
| 8 | + |
| 9 | +With this plugin, you can: |
| 10 | + |
| 11 | +- Know explicitly if there are unsaved notes in the current repository and if they are synchronized with the remote repository. When there are unsaved files locally, the plugin will show a red indicator in the toolbar icon. |
| 12 | +- Quickly commit changes to notes. The plugin provides shortcut keys (mod+s) to perform commit&push operations. |
| 13 | +- Provide buttons to quickly execute common commands. Click the plugin icon, and the drop-down menu will show you some buttons to help you quickly execute commands (you can specify the desired buttons in the settings). |
| 14 | +- Prompt you if you have synchronized with the remote repository. The plugin automatically detects if the current repository is up-to-date and prompts when logseq starts and other times. |
| 15 | + |
| 16 | +## Installation |
| 17 | + |
| 18 | +Install from the Logseq Plugin Store |
| 19 | + |
| 20 | +## Shortcuts |
| 21 | +The plugin provides a shortcut key (mod+s) to quickly commit and push changes to the remote repository. |
| 22 | + |
| 23 | +## Toolbar Icon |
| 24 | + |
| 25 | +- icon: everything is up-to-date. |
| 26 | +- icon with red dot: there are unsaved files locally. |
| 27 | +- icon with blinking red dot: the plugin is committing or pushing changes to the remote repository. |
| 28 | + |
| 29 | +## Commands |
| 30 | + |
| 31 | +The drop-down menu shows the following commands: |
| 32 | +- Check Status: check the status of the current repository. |
| 33 | +- Show Log: show the log of the current repository. |
| 34 | +- Pull: pull changes from the remote repository. |
| 35 | +- Pull Rebase: pull changes from the remote repository and rebase. |
| 36 | +- Commit: commit changes to the current repository. |
| 37 | +- Push: push changes to the remote repository. |
| 38 | +- Commit & Push: commit changes and push to the remote repository. |
| 39 | + |
7 | 40 | ## Demo |
8 | 41 |  |
9 | 42 |
|
0 commit comments