I learned of gist.github.com from Mozilla Ubiquity, and have been using it to post small stuff I've written, and to keep it updated in a public place, with version control so no information is lost.
I understand the basic idea of version control, but I don't know how to use it in a practical sense. I've tried reading through tutorials and stuff, but I still don't "get" it.
I'm sick of using diff utilities to manually keep different copies of a file up to date on different computers. I like the idea of having a directory on my computer that's versioned, and only updating the public version when I have it in a form that other people can comfortably use. But, uh... how do I do that? They give a public clone URL and a private clone URL. (What's the difference?) I've figured out that typing git clone git://gist.github.com/285330.git gist-285330
will copy the latest files from the Gist into the local directory gist-285330
, as well as creating the .git folder with all the previous version information. So I can edit the files in my own directory and use them, and then somehow keep track of the versions, and somehow upload the changes back to the site so that other people can see them?
Is it possible to do this with Gist, or should I create a real Github repository? In either case, how do I actually use it? All the tutorials I've seen assume prerequisite knowledge about "pushing", "committing" and other things I have no experience with.