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: AEET_2025/reproducible_science.qmd
+64-68Lines changed: 64 additions & 68 deletions
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ At this point, you need to have the latest version of R installed (<https://clou
134
134
To view both the user and the associated email:
135
135
136
136
`git config --global --list`
137
-
137
+
138
138
⚡What is the shell? The shell (or terminal) is a program on your computer whose job is to run other programs (see https://happygitwithr.com/shell.html#shell). RStudio includes a terminal that you can use to interact with Git; however, it also has a tab called "Git" that provides basic Git functionalities and makes its use much easier.
139
139
140
140

@@ -156,7 +156,6 @@ At this point, you need to have the latest version of R installed (<https://clou
156
156
```
157
157
158
158
👀 It’s a good idea to describe the purpose of the token in the *Note* field, since you can have several PATs. You won’t be able to view this token again, so don’t close or leave the browser window until you’ve stored the PAT locally. Treat this PAT like a password!
159
-
160
159
:::
161
160
162
161
## Git repositories and projects
@@ -178,7 +177,6 @@ If you go to the selected local directory, you’ll find the folder connected to
178
177
179
178
1. Create a repository on GitHub and connect it to a new RStudio project (this will generate a repository (folder) on your computer in the location you specified). Include a "*.gitignore*" file. Create a new R script in the working directory (that is, create an R script and save it inside the repository you just created)
180
179
2. In RStudio, go to the Git tab to see all the documents that have been identified by Git
181
-
182
180
:::
183
181
184
182

@@ -194,7 +192,6 @@ To add files to the *gitignore*, you can right-click on the file in RStudio’s
194
192
1. Add your project’s `.Rproj` file to the `*.gitignore*` file.
195
193
196
194
2. Create a folder named `datos` (data) in your working directory. Add it to the `*.gitignore*` file and save. What happened in the **Git** tab?
197
-
198
195
:::
199
196
200
197
## Structure of a GitHub repository
@@ -761,57 +758,57 @@ Markdown is a plain text format that is designed to be easy to write, and, even
@@ -840,7 +837,7 @@ The syntax is similar for embedding an inline image: {fig-align="left"}
@@ -1351,7 +1348,7 @@ The figure basic [guide](https://quarto.org/docs/authoring/figures.html#figure-b
1351
1348
1352
1349
{fig-align="right" fig-alt="Illustration of two penguins playing with a Quarto ball."}
1353
1350
:::
1354
-
:::::
1351
+
:::
1355
1352
1356
1353
#### Subfigures
1357
1354
@@ -1640,7 +1637,7 @@ The most capable format by far is `revealjs`, so it is highly recommended unless
@@ -1801,7 +1798,6 @@ In order to resolve it, you need to choose the changes from either the main bran
1801
1798
3. Resolve the conflict (i.e., keep the changes that are appropriate and push the resolved file to the remote repository).
1802
1799
1803
1800
💡[Here](https://github.com/DatSciR/intro_git-github/blob/main/centra/dia3_comandos.md) (in the "Otros comandos útiles" section - in Spanish) you can see how to delete branches and other useful commands.
0 commit comments