Skip to content

Instantly share code, notes, and snippets.

@jpmirandas
Created July 5, 2015 20:19
Show Gist options
  • Save jpmirandas/c409975b2c00c1511c96 to your computer and use it in GitHub Desktop.
Save jpmirandas/c409975b2c00c1511c96 to your computer and use it in GitHub Desktop.
Create a new git repository ...
…or create a new repository on the command line
echo "# point" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin address...
git push -u origin master
…or push an existing repository from the command line
git remote add origin address...
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment