-
Notifications
You must be signed in to change notification settings - Fork 336
/
connect-intro.Rmd
17 lines (10 loc) · 1.37 KB
/
connect-intro.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# (PART) Connect Git, GitHub, RStudio {-}
# Can you hear me now? {#connect-intro .unnumbered}
The next few chapters walk through some basic operations to confirm you have installed the necessary software and that the necessary connections are being made, between tools on your computer and between your computer and GitHub.
This has a lot of overlap with some basic workflows we revisit later, but the second time around (or in a live workshop), we'll spend more time explaining what's happening and why.
Unfortunately, we have to front-load a rather fiddly task, which is to decide whether to communicate with GitHub via HTTPS or SSH and setup some credentials accordingly.
In [Personal access token for HTTPS] we discuss how to choose between HTTPS and SSH and then walk through obtaining a personal access token, which is used with HTTPS.
Or, alternatively, we will help you [Set up keys for SSH].
Once we have our credentials sorted out, in [Connect to GitHub], we use Git in the shell to make sure you can clone a repo from GitHub and establish two-way communications, i.e. pull and push.
In [Connect RStudio to Git and GitHub] we confirm that RStudio can work with your Git installation to perform local operations and communicate with GitHub.
Hopefully you won't need it, but this part concludes with two troubleshooting chapters: [Detect Git from RStudio] and [RStudio, Git, GitHub Hell].