Created
April 24, 2013 21:18
-
-
Save stephenhardy/5455666 to your computer and use it in GitHub Desktop.
Initial setup steps for a git and github project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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