CS203
Spring 2016
February 1
git config --global user.name "Your Name" git config --global user.email "your@email.com" git config --global color.diff auto git config --global color.status auto git config --global color.branch auto
ssh-keygen -t rsa -C "your@email.com"
Note: you will be prompted for what file to save the key in–take the default; you will also be prompted for a passphrase–make one up you can remember!!
Account Settings
icon (it's the second icon from the right; hover over it and it should tell you which one it is)SSH Keys
, and click the button to add an SSH key.ssh
directory, and type the following command:cat id_rsa.pub
Key
text area of your browser. Be sure to copy everything from the end of the command to the beginning of the next prompt.Add Key
buttonssh -T git@github.com
Note: you may be prompted about trusting GitHub's fingerprint. Reply 'yes'
git init
You should see a .git folder within your cs203 folder. (From the command line, type 'ls -a' to see it.)
git add .
git commit -m 'First snapshot'
git remote add origin https://github.com/Vassar-cs203/YourVassarEmailName.git
git push -u origin master