Skip to content

Instantly share code, notes, and snippets.

@stephenhardy
Created April 24, 2013 21:18

Revisions

  1. stephenhardy created this gist Apr 24, 2013.
    16 changes: 16 additions & 0 deletions setupGithubRepo
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    -- Initial setup

    mkdir <YOURPROJECT>
    cd <YOURPROJECT>
    git init

    -- Link to GitHub hosted repos

    git remote add origin <git@github.com:YOURACCOUNT/YOURREPO.git>
    git pull origin master

    -- Add some files

    git add .
    git commit -m "YOUR COMMENTS"
    git push origin master