Skip to content

Instantly share code, notes, and snippets.

@miklevin
Created July 19, 2019 14:46
Show Gist options
  • Save miklevin/6a50da64972068ea145223e61fddb5a6 to your computer and use it in GitHub Desktop.
Save miklevin/6a50da64972068ea145223e61fddb5a6 to your computer and use it in GitHub Desktop.
Pushing a git repo up for the first time and tired of remembering git remote add origin git@github.user/repome.git ?
echo "# repome" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:miklevin/repome.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment