Skip to content

Instantly share code, notes, and snippets.

@kul1
Last active February 11, 2022 14:18
Show Gist options
  • Select an option

  • Save kul1/e5040ae16b27e000d1ade9fd64f015b0 to your computer and use it in GitHub Desktop.

Select an option

Save kul1/e5040ae16b27e000d1ade9fd64f015b0 to your computer and use it in GitHub Desktop.
How to create gist from terminal command.
  1. Click Your Gists (Top Right Your picture Menu)
  2. Create gist at + next to Your picture
  3. Enter info or any content and click Create secret gist / or public gist
  4. Copy url and
  5. At Terminal clone it
  6. Rename directory in local as wish
  7. Update local content and push to update in remote
  632  git clone https://gist.github.com/kul1/817d6b16cab7274e4a8c8bd05220ea62
  633  cd 817d6b16cab7274e4a8c8bd05220ea62/
  634  ls
  635  git status
  636  cp ../C100_Classic/C100_CLASSIC.md .
  637  git status
  638  git add .
  639  git commit -m'Init'
  640  git push origin master # not work
  641  git push origin main

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