Posts

Showing posts with the label github-gists

Sync Github Gists with Git Repo

Image
I needed an easy way to sync github gists to my local machines and I couldn't find anything provided by gist, or any other open source projects out there so I put this little node app together quick.

Simply clone this repo and update the `users.json` file to sync all the associated public gists to your local machine.

https://github.com/aaronhoffman/gists


The node app uses the gists api and `git clone`s each gist into a folder with the same name as it's id:




Hope this helps!
Aaron