Difference between revisions of "Merging"
Line 41: | Line 41: | ||
# '''Partner B''' should click on the '''Verify email address''' link. | # '''Partner B''' should click on the '''Verify email address''' link. | ||
| [[File:GitHub-VerifyEmailAddress.png|Verify Email Address]] | | [[File:GitHub-VerifyEmailAddress.png|Verify Email Address]] | ||
|- | |||
| If '''Partner B''' sees the image on the right he/she should log in to GitHub and then click on the link in the email again. | |||
| [[File:GitHub-404.png|Not Found]] | |||
|} | |} | ||
=== Both Partners === | |||
'''Both partners''' should now log on to the server. | |||
Create a project directory: | |||
<syntaxhighlight lang="bash"> | |||
cd ~/projects | |||
mkdir project-1601 | |||
cd project-1601 | |||
</syntaxhighlight> | |||
Next, '''both partners''' should clone the newly created repository. Note that the actual name of the repository will depend on the user name of '''Partner A'''. Adjust the URL appropriately by replacing PARTNER_A_USER_NAME with the actual '''Partner A''' user name. | |||
<syntaxhighlight lang="bash"> | |||
git clone https://github.com/PARTNER_A_USER_NAME/TheStory | |||
</syntaxhighlight> | |||
Depending on your configuration, you may need to enter your username and password for GitHub. In order to successfully complete the remainder of the lab, it's important that your username and password for GitHub are saved for future access. You can accomplish this by following the steps [[Emacs-VersionControl#IMPORTANT_NOTE|here]] and then continue with this project. |
Revision as of 16:26, 14 April 2019
Research[edit]
Introduction to Version Control (Emacs)
Experiment[edit]
Note: You will need to work with a partner for this lab. (We'll call the partners, Partner A and Partner B.)
First Steps[edit]
Only Partner A should perform the following steps:
Only Partner B should perform the following steps:
Both Partners[edit]
Both partners should now log on to the server.
Create a project directory:
cd ~/projects
mkdir project-1601
cd project-1601
Next, both partners should clone the newly created repository. Note that the actual name of the repository will depend on the user name of Partner A. Adjust the URL appropriately by replacing PARTNER_A_USER_NAME with the actual Partner A user name.
git clone https://github.com/PARTNER_A_USER_NAME/TheStory
Depending on your configuration, you may need to enter your username and password for GitHub. In order to successfully complete the remainder of the lab, it's important that your username and password for GitHub are saved for future access. You can accomplish this by following the steps here and then continue with this project.