Set Up Git (Version Control Basic)
Install Git for your operating system following the
setup instructions. Then
create a new repo at the Github organization for the class:
- Navigate to Github in a web browser and login.
- Click the
+at the upper right corner of the page and chooseNew repository. - Choose the class organization (e.g.,
dcsemester) as theOwnerof the repo. - Fill in a
Repository namethat follows the formFirstnameLastname. - Select
Private. - Select
Initialize this repository with a README. - Click
Create Repository.
Next, set up a project for this assignment in RStudio with the following steps:
- File -> New Project -> Version Control -> Git
- Navigate to your new Git repo -> Click the
Clone or downloadbutton -> Click theCopy to clipboardbutton. - Paste this in
Repository URL:. - Leave
Project directory name:blank; automatically given repo name. - Choose where to
Create project as subdirectory of:. - Click
Create Project. - Check to make sure you have a
Gittab in the upper right window.