1
0
silverbullet/website/🔌 Git.md

38 lines
918 B
Markdown
Raw Normal View History

```meta
type: plug
uri: github:silverbulletmd/silverbullet-github/github.plug.json
repo: https://github.com/silverbulletmd/silverbullet-github
author: Zef Hemel
```
2022-10-12 09:47:13 +00:00
<!-- #include "https://raw.githubusercontent.com/silverbulletmd/silverbullet-git/main/README.md" -->
2022-10-12 09:47:13 +00:00
# SilverBullet plug for Git
2022-10-12 09:47:13 +00:00
Very basic in functionality, it assumes you have git configured for push and
pull in your space. What it does, roughly speaking:
`Git : Sync`:
2022-10-12 09:47:13 +00:00
- Adds all *.md files in your folder to git
- It commits them with a "Snapshot" commit message
- It `git pull`s changes from the remote server
- It `git push`es changes to the remote server
`Git: Snapshot`:
2022-10-12 09:47:13 +00:00
- Asks you for a commit message
- Commits
## Installation
2022-10-12 09:47:13 +00:00
Open your `PLUGS` note in SilverBullet and add this plug to the list:
```
- github:silverbulletmd/silverbullet-git/git.plug.json
```
Then run the `Plugs: Update` command and off you go!
2022-10-12 09:47:13 +00:00
<!-- /include -->