Re:Upload files to your repositories
by sushisource on Thursday February 18, 2016 @08:23PM
(#11130856)
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.
Re:Upload files to your repositories
by johnmaguire2013 on Friday February 19, 2016 @12:33AM
(#11131795)
Even still, Gists are repositories. Just add a new remote and push.
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.