Skip to content

Commit 8161327

Browse files
committed
docs: 📝 add README
1 parent 8e6daac commit 8161327

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,39 @@
44
[![latest release version](https://img.shields.io/github/v/release/haydenull/logseq-plugin-git)](https://github.com/haydenull/logseq-plugin-git/releases)
55
[![License](https://img.shields.io/github/license/haydenull/logseq-plugin-git?color=blue)](https://github.com/haydenull/logseq-plugin-git/blob/main/LICENSE)
66

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+
740
## Demo
841
![demo](./demo.png)
942

0 commit comments

Comments
 (0)