Grabs text from a URL and commits it.
Some possible use cases:
- collaborate on Markdown/LaTeX using Google Drive
- incorporate and link to online code snippets
- archive the history of a webpage
- Python 3.3+
- Git
curmit can be installed with pip:
$ pip3 install curmit
or directly from the source code:
$ git clone https://github.com/jacebrowning/curmit.git
$ cd curmit
$ python3 setup.py install
-
Create a new text file
-
Add the following somewhere in the first few lines:
curmit: <http://example.com>
with your desired URL. An example using a Google Docs can be found here.
To update every flagged file with the current URL text, commit, and push:
$ curmit
That's it!