Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ibab/github-editor
- Owner: ibab
- License: mit
- Created: 2016-02-23T22:28:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-23T22:39:17.000Z (almost 9 years ago)
- Last Synced: 2023-03-23T02:05:39.465Z (almost 2 years ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.