... | ... | @@ -6,7 +6,7 @@ For other platforms, see: |
|
|
|
|
|
#### Before you begin
|
|
|
|
|
|
You will need access to a git service, so first browse to a git server and login to create your account. Some common git services are:
|
|
|
You will need access to a git service, so first browse to a git service and login to create your account. Some common git services are:
|
|
|
|
|
|
* Tufts Services
|
|
|
* https://gitlab.tufts.edu
|
... | ... | @@ -16,3 +16,34 @@ You will need access to a git service, so first browse to a git server and login |
|
|
* https://gitlab.com
|
|
|
* https://bitbucket.org
|
|
|
* https://www.codebasehq.com
|
|
|
|
|
|
#### Creating your SSH Key
|
|
|
|
|
|
* Open a new `Terminal` window.
|
|
|
* Check to see if you already have a ssh key, as follows:
|
|
|
|
|
|
ls ~/.ssh/id_rsa*
|
|
|
|
|
|
* If you already have an ssh key, skip this step. This is how to create a new ssh key:
|
|
|
|
|
|
ssh-keygen -b 2048 -t rsa -C "Some comment"
|
|
|
The comment should uniquely describe the computer you're using, for example,
|
|
|
"Home Macbook Pro" or whatever.
|
|
|
|
|
|
It will prompt you to enter passphrase. Just keep pressing Enter.
|
|
|
|
|
|
* Use the following command to see your public key (a bunch of random-looking characters). You will need to copy & paste this SSH Public Key into your account on the git service provider.
|
|
|
|
|
|
cat ~/.ssh/id_rsa.pub
|
|
|
|
|
|
#### Uploading your SSH Key
|
|
|
|
|
|
On the git service provider, go to your profile, and add your SSH Public Key. For convenience, screenshots are provided showing this on the Tufts Gitlab server:
|
|
|
|
|
|
![Gitlab Profile Menu](Screen Shot 2017-02-28 at 10.25.00 AM.png)
|
|
|
|
|
|
![Paste SSH Public Key](Screen Shot 2017-02-28 at 10.47.49 AM.png)
|
|
|
|
|
|
#### Installing and Configuring SourceTree
|
|
|
|
|
|
* asdf |
|
|
\ No newline at end of file |