Skip to content

Instantly share code, notes, and snippets.

@evejweinberg
Created October 27, 2016 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evejweinberg/51f3598bc67b80dc9b2f00c4644ccb7c to your computer and use it in GitHub Desktop.
Save evejweinberg/51f3598bc67b80dc9b2f00c4644ccb7c to your computer and use it in GitHub Desktop.
git init

$ cd Foo
$ touch README.md
$ git init
$ git add . $ git commit -m "Initial commit"

Link your repo between local & remote, then push to remote:

$ git remote add origin git@github.com:<your_username>/Foo.git $ git push -u origin master

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