Skip to content

Commit 1d31efa

Browse files
authored
added short instructor notes
1 parent 4db32cc commit 1d31efa

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

episodes/git.Rmd

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ usethis::git_sitrep()
5151

5252
## Setting up the GitLab Project
5353

54+
::::::::::::::: instructor
55+
56+
### Instructor Summary
57+
58+
- Go to [UW-Madison GitLab instance][uw-gitlab] and login
59+
- Create new project called `ratdat_lib_wksp`, private repo with README,
60+
61+
::::::::::::::::::::::::::
62+
5463
First you need to navigate to the [UW-Madison GitLab instance][uw-gitlab] and select the UW-Madison NetID login option.
5564

5665
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.
@@ -93,6 +102,26 @@ For example:
93102

94103
## Setting up the Project in RStudio
95104

105+
::::::::::::::: instructor
106+
107+
### Instructor Summary
108+
109+
- Create GitLab PAT
110+
+ Click settings in repo
111+
+ Project access token page
112+
+ Add new token - `work laptop` name or whatever you'd like, description blankdefault expiry, owner role, leave scoles unchecked
113+
+ Create project access token
114+
+ Copy project access token to text file
115+
- Setup project
116+
+ Return to main repo page
117+
+ clone using https
118+
+ Switch to RStudio
119+
+ New Rproject, version control with Git, paste URL, save on Desktop
120+
+ Authenticate with username and PAT (from text file)
121+
+ Show the project in R and describe the new files R added
122+
123+
::::::::::::::::::::::::::
124+
96125
Next we will `clone` (copy) this project to our computer and make it a project in RStudio.
97126
Before we can do so we need to set up verifying our identity with GitLab.
98127

0 commit comments

Comments
 (0)