-
Notifications
You must be signed in to change notification settings - Fork 0
/
slides.html
178 lines (114 loc) · 3.01 KB
/
slides.html
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html>
<head>
<title>R+Github adventure</title>
<meta charset="utf-8">
<meta name="author" content="Lucy D’Agostino McGowan" />
<link rel="stylesheet" href="libs/remark-css/example.css" type="text/css" />
</head>
<body>
<textarea id="source">
class: center, middle, inverse
# R+Github adventure
### Lucy D’Agostino McGowan
---
class: center
# R + Github adventure
![](http://media.giphy.com/media/HVr4gFHYIqeti/giphy.gif)
---
# Inspiration
Jenny Bryan's [Happy Git with R](http://happygitwithr.com/install-git.html#windows)
![](https://github.com/rladies-nashville/2017-30-05_git-r-adventure/raw/master/img/jenny-and-lucy.JPG)
---
# R + Github Adventure
- get on GitHub
--
- get git working
--
- choose your own adventure!
---
# follow along
### slides
https://rladies-nashville.github.io/2017-30-05_git-r-adventure/slides
### repo
https://github.com/rladies-nashville/2017-30-05_git-r-adventure
---
class: center
#[https://github.com](https://github.com)
<img src = https://octodex.github.com/images/femalecodertocat.png width = 50%></img>
---
# Install git
##[Survey](https://github.com/rladies-nashville/2017-30-05_git-r-adventure/issues/1)
---
#Install git
## Mac:
```
git --version
```
click install!
--
## Windows:
[Git for Windows](https://git-for-windows.github.io)
--
##[Survey](https://github.com/rladies-nashville/2017-30-05_git-r-adventure/issues/1)
---
class:center
# Let's make a practice repo!
<img src = http://31.media.tumblr.com/85218cfba3ffd16bf85030306a10257f/tumblr_mximavYGMk1rmesz7o1_250.gif width = 150%> </img>
---
# Workflow
![](img/personal.png)
---
# Commands
already on your computer
```
git init
git add .
git commit –m "first commit :tada:"
git remote add origin https://github.com/your-user-name/project-name.git
git push -u origin master
```
from GitHub
```
git clone https://github.com/your-user-name/project-name.git
```
---
# Commands
every time you make a change:
```
git add filename
git commit –m "describe your file change here"
git push -u origin master
```
---
# Workflow
![](img/collab.png)
---
class: center
##[datasauRus](https://github.com/stephlocke/datasauRus/network)
<img src = img/datasaurus.gif width = 50%> </img>
---
# commit messages
- 🐛: bug fix
- 🙈: spelling error
- 💅: documentation
- 🚧: under construction
- 💩: broke it all!
- 🔥: burn it all down
[emojis!](https://gist.github.com/rxaviers/7360908)
---
# choose your own adventure
- [Email Templates](https://github.com/ropenscilabs/ponyexpress)
--
- [RMarkdown Website](http://nickstrayer.me/RMarkdown_Sites_tutorial/)
--
- do your own thing
</textarea>
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
<script>var slideshow = remark.create({
"highlightStyle": "github",
"highlightLines": true
});
if (window.HTMLWidgets) slideshow.on('showSlide', function (slide) {setTimeout(function() {window.dispatchEvent(new Event('resize'));}, 100)});</script>
</body>
</html>