-
Notifications
You must be signed in to change notification settings - Fork 1
Git Commands
tgashby edited this page Jan 15, 2012
·
1 revision
-
git clone git@github.com:tgashby/476-Project.git
That will create a folder for you called 476-Project
OR
-
git init
in the folder you want -
git pull git@github.com:tgashby/476-Project.git
That will just get the contents of the repository (and not make a folder).
git pull origin master
If that doesn't work:
-
git remote add origin git@github.com:tgashby/476-Project.git
You'll only need to do this once. git pull origin master
-
git add myfile1 myfile ...
Just fill in each file you want to add to the commit. -
git commit
Then write a useful message. (Please) git push origin master
OR
-
git commit -a
This will commit every file that has changed. git push origin master
If step git push origin master
doesn't work:
-
git remote add origin git@github.com:tgashby/476-Project.git
You'll only need to do this once. git push origin master