Skip to content

Instantly share code, notes, and snippets.

@domosedov
Created July 31, 2019 18:48
Show Gist options
  • Save domosedov/651e1bc54c454949d49516333f7dee6a to your computer and use it in GitHub Desktop.
Save domosedov/651e1bc54c454949d49516333f7dee6a to your computer and use it in GitHub Desktop.
github
…or create a new repository on the command line
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/domosedov-dev/test.git
git push -u origin master
…or push an existing repository from the command line
git remote add origin https://github.com/domosedov-dev/test.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment