Skip to content

Commit 4831087

Browse files
committed
feat (rstudio): clarified 'with IDE' facet of this module
1 parent 00d9f43 commit 4831087

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

rstudio.qmd

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
---
2-
title: "RStudio"
2+
title: "Using GitHub with an IDE"
33
---
44

55
## Module Learning Objectives
66

77
By the end of this module, you will be able to:
88

9-
- <u>Describe</u> the computer-to-GitHub order of operations
9+
- <u>Describe</u> the IDE-to-GitHub order of operations
1010
- <u>Define</u> fundamental Git vocabulary
1111
- <u>Create</u> a local version-controlled repository that is connected to GitHub
1212

1313
## Overview of Git Workflow
1414

15-
Before we get into using Git and GitHub through RStudio, it will be helpful to review the major steps of including version control as you work on code.
15+
Before we get into using Git and GitHub through an IDE (<u>I</u>ntegrated <u>D</u>evelopment <u>E</u>nvironment), it will be helpful to review the major steps of including version control as you work on code. Also, note that "IDE" is the technical term for a piece of software that is used to create software; RStudio, Visual Studio Code, and Positron are all examples of IDEs with which you may already be familiar.
1616

1717
Beginning on your local computer, you make **<span style="color:gold">changes</span>** to a file in a folder that you have previously marked for version control tracking (i.e., a **working directory**). Once those changes are made you can **stage changes** within your local computer. After staging, it is best to <span style="color:blue">retrieve the latest file versions from the cloud</span>. You likely will already be up-to-date but this preemptive step can save you a lot of heartache down the line. Once you've confirmed that you have the latest file versions, you can <span style="color:green">shift the revised file(s) to the cloud</span> where any GitHub users with access to your project can access the most recent file and look at the history of all previous changes.
1818

19+
:::{.callout-note}
20+
#### "Pull & Push" vs. "Sync"
21+
22+
Some IDEs (e.g., Positron, VS Code) combine pulling and pushing into a single operation called "sync". These IDEs also support pulling and pushing separately so you may want to do those operations separately until you are completely comfortable with the necessary order of operations.
23+
:::
24+
1925
<p align="center">
2026
<img src="images/rstudio/git-workflow.png" alt="Graphic of a white rectangle on top of a blue square. The white rectangle has a happy cloud image and is labeled 'GitHub' while the blue square has an emoji-style laptop. Numbered steps start at the bottom left and work towards the top right as follows: '1-make changes', '2-stage changes', '3-retrieve latest from GitHub', and '4-put in GitHub'" width="70%"/>
2127
</p>

0 commit comments

Comments
 (0)