-
create github gist on github site
-
copy url of gist
-
from command line on local development machine:
git clone gist-url-from-github name-of-new-directory-for-gist
-
cd into name-of-new-directory-for-gist and open file in text editor
-
make changes and save
-
do initial commit:
git commit -am 'initial commit'
- do initial push back up to github
git push