You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: git.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,15 @@ usethis::git_sitrep()
51
51
52
52
## Setting up the GitLab Project
53
53
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
+
54
63
First you need to navigate to the [UW-Madison GitLab instance][uw-gitlab] and select the UW-Madison NetID login option.
55
64
56
65
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:
93
102
94
103
## Setting up the Project in RStudio
95
104
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
+
96
125
Next we will `clone` (copy) this project to our computer and make it a project in RStudio.
97
126
Before we can do so we need to set up verifying our identity with GitLab.
0 commit comments