Skip to content

added short instructor notes #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion episodes/git.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ usethis::git_sitrep()

## Setting up the GitLab Project

::::::::::::::: instructor

### Instructor Summary

- Go to [UW-Madison GitLab instance][uw-gitlab] and login
- Create new project called `ratdat_lib_wksp`, private repo with README,

::::::::::::::::::::::::::

First you need to navigate to the [UW-Madison GitLab instance][uw-gitlab] and select the UW-Madison NetID login option.

Next we will create a new project. You can do so by clicking the "+" button then "New project/repository" option in the upper-left hand of the screen OR you can click the blue "New Project" button on the right hand side of the screen. If you do not see the "+" button, it might mean that your sidebar is hidden. To see the sidebar, click the sidebar icon at the top left of your screen.
Expand Down Expand Up @@ -93,6 +102,26 @@ For example:

## Setting up the Project in RStudio

::::::::::::::: instructor

### Instructor Summary

- Create GitLab PAT
+ Click settings in repo
+ Project access token page
+ Add new token - `work laptop` name or whatever you'd like, description blankdefault expiry, owner role, leave scoles unchecked
+ Create project access token
+ Copy project access token to text file
- Setup project
+ Return to main repo page
+ clone using https
+ Switch to RStudio
+ New Rproject, version control with Git, paste URL, save on Desktop
+ Authenticate with username and PAT (from text file)
+ Show the project in R and describe the new files R added

::::::::::::::::::::::::::

Next we will `clone` (copy) this project to our computer and make it a project in RStudio.
Before we can do so we need to set up verifying our identity with GitLab.

Expand Down Expand Up @@ -122,7 +151,7 @@ Then click the copy button to the right of the "Clone with HTTPS" option.

<!--- screenshot needed: the code menu and the copy button from the clone with HTTPS option highlighted"

Open RStudio and create a new project with the +shield icon or `File` > `New Project`.
Switch back to RStudio and create a new project with the +shield icon or `File` > `New Project`.

<!--- screenshot needed: highligting the new project button -->

Expand Down