Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ibab/github-editor

Edit files in your github repo with $EDITOR
https://github.com/ibab/github-editor

Last synced: about 1 month ago
JSON representation

Edit files in your github repo with $EDITOR

Awesome Lists containing this project

README

        

# github-editor

Edit files in your github repo with $EDITOR.

Install dependencies with
```bash
pip install --user -r requirements.txt
```

Run
```bash
./ged yourname/yourrepo todo.md
```
This opens up a file in your `$EDITOR`.
If you modify and save the file, the change will get automatically committed to
your github repository.

If you don't change anything in the file, or if you leave it empty, nothing will be committed.
The script also adds yaml frontmatter to the beginning of the file:
```
---
message: Update todo.md
---
```
This allows you to set the commit message.

I use this to quickly edit my notes and todo lists in a special repo.