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: slides/slides.md
+37-32Lines changed: 37 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,17 @@ page_number: true
13
13
###### *26/02/2019*
14
14
15
15
---
16
-
For Alessia, if you need a slide or two?
16
+
##### For Alessia, if you need a slide or two?
17
17
---
18
18
19
19
*Actually, you're here to learn:*
20
+
20
21
#### ~~Git/Hub for Collaborative DataSci & DataEng~~
22
+
21
23
# Good Collaboration in Nearly Anything File-Based, using GitHub
22
24
23
25
---
24
-
# Good collaboration...
26
+
##Good collaboration...
25
27
26
28
- makes a safe space for constructive and honest discussion.
27
29
- makes room and time for teaching and learning.
@@ -31,14 +33,15 @@ For Alessia, if you need a slide or two?
31
33
- is first and foremost about working with and respecting other people.
32
34
33
35
---
34
-
# Good collaboration...
36
+
## Good collaboration...
37
+
38
+
- is NOT an optional "soft" skill for engineers - it's essential!
35
39
36
-
- is NOT a "soft", optional skill for engineers - it's essential!
37
40
38
-
**Git & GitHub are only tools to help us focus on contribution and discussion.**
41
+
### **Git & GitHub are only tools to help us focus on tracking contribution and discussion.**
39
42
40
43
---
41
-
# Git vs GitHub
44
+
##Git vs GitHub
42
45
43
46
-**Git != GitHub**
44
47
@@ -47,7 +50,7 @@ For Alessia, if you need a slide or two?
47
50
-**Git:** a version control system; the underlying magic/the engine under the hood, that manages contribution history and order.
48
51
49
52
---
50
-
#Basic Git Concepts
53
+
## Key Git Concepts
51
54
52
55
1.**Repository:** a project.
53
56
2.**Branch:** a collection of changes.
@@ -57,30 +60,28 @@ For Alessia, if you need a slide or two?
57
60
6.**Merge**: the action that accepts your branch into the master branch.
58
61
59
62
---
60
-
# Today's learning objectives +++++
63
+
##Today's learning objectives
61
64
62
65
- Learn a universally-accepted collaboration workflow
63
-
- Use basic Git concepts on a project, using the GitHub web UI.
66
+
- Use key Git concepts on a project, using the GitHub web UI.
64
67
65
68
---
66
-
# Workshop Time
69
+
##Workshop Time
67
70
68
71
See: https://github.com/feiphoon/github-workshop/
69
72
70
73
Reminders for collaboration:
71
74
72
-
- Be kind (you can still be firm and opinionated!)
75
+
- Be kind (you can still be firm & opinionated!)
73
76
- Leave constructive comments
74
-
- If you feel an online conversation is getting out of control, retry the discussion in person.
75
-
- If you're lost, ask for help! There are no stupid questions, only lost people feeling sad that they didn't ask for help sooner.
77
+
- If you feel an online conversation isn't working out, retry the discussion in person.
78
+
- If you're lost, ask for help! There are no silly questions, only lost people feeling sad that they didn't ask for help sooner.
76
79
77
80
---
78
-
# A Recap
79
-
80
-
Today, you:
81
+
## Workshop Recap
81
82
82
83
- created a repository
83
-
- learned to make commits (to master, the NAUGHTY way!)
84
+
- learned to make commits
84
85
- logged an issue
85
86
- responded to an issue
86
87
- asked for a review
@@ -90,16 +91,16 @@ Today, you:
90
91
- tidied up!
91
92
92
93
---
93
-
# Git in the Wild
94
+
##Git in the Wild
94
95
95
-
- Today's process - a pared-down version of what many people use, from individuals and small teams, to developers & engineers at companies
96
+
- Today's exercise: a pared-down version of what many code contributors use, from individuals & small teams on hobby projects, to developers & engineers on large repositories at work.
96
97
97
-
- Other patterns for collaboration with Git:
98
-
- git-flow - fancier version of what we did today, designed especially to manage releases e.g. `your-repo v1.7`
99
-
- forking - especially for open source or community-supported projects
98
+
- Other variations for Git collaboration:
99
+
-**git-flow** - fancier version of what we did today, designed especially to manage releases e.g. `release v1.7`
100
+
-**forking** - especially for open source or community-supported projects
100
101
101
102
---
102
-
# Git & GitHub
103
+
##Git the Party Started
103
104
104
105
- Examples of non-code projects on GitHub:
105
106
- A crowdsourced travel itinerary: https://github.com/dylanegan/travel
@@ -108,24 +109,28 @@ Today, you:
108
109
- Open source libraries with collaborators all over the world, e.g. https://python-sprints.github.io/
109
110
110
111
111
-
- Other interfaces for Git - workflow preferences: Bitbucket, Gitlab, GitHub Desktop, Git command line, code editors (Atom/Sublime/PyCharm)
112
+
---
113
+
## Other Interfaces for Git
112
114
115
+
This is down to your workflow preferences:
116
+
- Bitbucket
117
+
- Gitlab
118
+
- GitHub Desktop
119
+
- Git command line
120
+
- Git integration in code editors & IDEs (Atom/Sublime/PyCharm)
113
121
114
-
- GitHub web UI renders Markdown and CSV files very nicely
115
-
- Notebooks & file diffs: Jupyter notebooks vs R Markdown
116
122
---
123
+
## Your Future Lies In:
117
124
118
-
# Your future lies in:
119
-
120
-
- finishing these exercises with your teammates (if you haven't already!)
121
-
- starring this repository (https://github.com/feiphoon/github-workshop) for reference - we've added some light recap reading
125
+
- finishing these exercises with your teammates
126
+
- starring the workshop repo for reference - check back for some light recap reading
122
127
- looking at the history of the workshop repository - we collaborated remotely to create it!
123
-
- exploring GitHub further & using it for a real project
128
+
- exploring GitHub further by using it for a project
124
129
- coming to our next session to learn to use GitHub Desktop and Git from command line
125
130
- eventually learning to contribute to open source e.g. Pandas
0 commit comments