Skip to content

Instantly share code, notes, and snippets.

@juniorcesarabreu
Last active August 10, 2024 20:54
Show Gist options
  • Save juniorcesarabreu/172699b895f1fdf0da23b48d4c36ced9 to your computer and use it in GitHub Desktop.
Save juniorcesarabreu/172699b895f1fdf0da23b48d4c36ced9 to your computer and use it in GitHub Desktop.
How do you upload images to a gist?

How do you upload images to a gist?

  1. Create a gist or reuse one of your gists.
  2. Clone your gist:
git clone https://gist.github.com/<hash>.git
  1. Add your image to your gist's repository:
git add my-image.jpg
  1. Commit the image:
git commit -m "adding my image to my gist"
  1. Update gist by pushing you modifications:
git push origin master

fonte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment