Skip to content

Instantly share code, notes, and snippets.

@stephenhardy
Created April 24, 2013 21:18
Show Gist options
  • Save stephenhardy/5455666 to your computer and use it in GitHub Desktop.
Save stephenhardy/5455666 to your computer and use it in GitHub Desktop.
Initial setup steps for a git and github project
-- Initial setup
mkdir <YOURPROJECT>
cd <YOURPROJECT>
git init
-- Link to GitHub hosted repos
git remote add origin <[email protected]:YOURACCOUNT/YOURREPO.git>
git pull origin master
-- Add some files
git add .
git commit -m "YOUR COMMENTS"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment