generated from inSilecoInc/workshop_R_template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_z01_break_out.Rmd
95 lines (60 loc) · 1.42 KB
/
_z01_break_out.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
title: "Module 1"
output:
xaringan::moon_reader:
css: [default, rd.css, rd-font.css, "hygge"]
lib_dir: assets
seal: false
nature:
highlightStyle: dracula
countIncrementalSlides: false
beforeInit: "macros.js"
---
# Let's practice - Module 1
```{r setup_zz1, include = FALSE}
source("_setup.R")
htmltools::tagList(
xaringanExtra::use_clipboard(
button_text = "<i class=\"fa fa-clipboard\"></i>",
success_text = "<i class=\"fa fa-check\" style=\"color: #37abc8\"></i>",
),
rmarkdown::html_dependency_font_awesome()
)
xaringanExtra::use_scribble()
```
---
# Work on your local repository
1. Initiate a `r gt()` repo.
--
2. Creates the first two commits
- You can use one of your project;
- You can create a R project on RStudio.
--
3. Do a third commit on a local branch.
--
4. Merge this branch.
--
5. Try solving a conflict.
--
6. Try to rebase.
<!-- may have to create -->
---
# Set up your `r gh()` repo
1. Create a repo on your `r gh()` account.
--
2. Add the remote repository to your local repository.
--
3. Do a first push.
--
4. Invite a colleague to your repository, let her/him push to your remote repo.
--
5. Pull her/his changes.
---
# Fork a repository
1. Fork a repo e.g. https://github.com/inSilecoInc/demogit.
--
2. Clone the repo you've just forked.
--
3. Add the original repo as another remote called `upstream`.
--
4. Create a pull request.