Skip to content

Instantly share code, notes, and snippets.

@ucheng
Last active February 7, 2021 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ucheng/5501366 to your computer and use it in GitHub Desktop.
Save ucheng/5501366 to your computer and use it in GitHub Desktop.
Push fresh code to a GitHub repository
git init
git add .
git commit -m "initial commit"
git remote add origin https://github.com/ucheng/your-repos.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment