Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Last active June 17, 2022 03:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miguelmota/c55cc3f8aba345fc80262b3707a2e2b1 to your computer and use it in GitHub Desktop.
Save miguelmota/c55cc3f8aba345fc80262b3707a2e2b1 to your computer and use it in GitHub Desktop.
github git push to gist pull from gist
# gist id = c55cc3f8aba345fc80262b3707a2e2b1
git clone git@gist.github.com:c55cc3f8aba345fc80262b3707a2e2b1.git
git add .
git commit -m "Initial commit"
git remote add origin git@gist.github.com:c55cc3f8aba345fc80262b3707a2e2b1.git
git push origin main # make sure it's "main" branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment