If you log in via twitter, you will have to do the "reset password" ceremony https://github.com/password_reset
Per https://stackoverflow.com/a/34258338/148889 , set up .gitconfig
by doing these at the command prompt
git config --global http.sslVerify false
git config --global https.sslVerify false
git config --global http.proxy http://user:pass@yourproxy:port
git config --global https.proxy http://user:pass@yourproxy:port
Per https://stackoverflow.com/a/43150165/148889
-
Create a dummy gist called "my-image.jpg". Add some text (eg. "TODO"), and publish. Take note of the hash.
-
Clone your gist:
git clone https://gist.github.com/<hash>.git
- Add your image to your gist's repository:
cp /path/to/my-image.jpg <hash>
cd <hash>
git add my-image.jpg
- Commit the image:
git commit -m "adding my image to my gist"
- Update gist by pushing your modifications:
git push origin master
At this point you will be prompted for your github/gist credentials. Use the stuff you set up in Step 1