Skip to content

Instantly share code, notes, and snippets.

@emmaodia
Created December 9, 2020 11:13
Show Gist options
  • Save emmaodia/92e7ccd519cd187c7b0aaded21dfcf56 to your computer and use it in GitHub Desktop.
Save emmaodia/92e7ccd519cd187c7b0aaded21dfcf56 to your computer and use it in GitHub Desktop.
Push Github Repo

…or create a new repository on the command line echo "# xxxxx" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/emmaodia/xxxxx.git git push -u origin main

…or push an existing repository from the command line git remote add origin https://github.com/emmaodia/xxxxx.git git branch -M main git push -u origin main

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