Hacker News new | ask | show | jobs
by bitshiter 3771 days ago
regarding point (2) I feel like https://gist.github.com/ fulfills that requirement.

With a gist you're able to quickly and easily upload a single file script (or multiple files).

Also once created you can clone it as a git repo and make updates and push back to it (e.g. add files etc). Also people can fork your gist just like git repos.

I like this approach rather than creating a "new repository" on github for small scripts or snippets because then your github profile doesn't get cluttered with small snippets and script repos and is reserved for actual "project" repos.

1 comments

I think sort of the implication here is he's just coded up something that may be a starting point for something that will later involve more files - just makes it easy to do the initial repo setup.
Even still, Gists are repositories. Just add a new remote and push.