Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Git <> Codies
Search
Stella Miranda
October 25, 2018
Education
66
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git <> Codies
Stella Miranda
October 25, 2018
More Decks by Stella Miranda
See All by Stella Miranda
Pioneras Developers Barranquilla
stellamiranda
0
51
RailsGirlsCali
stellamiranda
0
22
bogotajs
stellamiranda
0
44
GDG-WTM
stellamiranda
0
81
Coderise 2015
stellamiranda
0
42
Coding like a girl
stellamiranda
1
18
devise-authy demo
stellamiranda
0
95
Other Decks in Education
See All in Education
Course Review - Lecture 13 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.4k
[2026前期火5] 論理学(京都大学文学部 前期 第5回)「 ならばの問題演習・proof net・かつの規則」
yatabe
0
390
「答えを出す」より「わかる」をつくる
kzkmaeda
1
260
輻射安全管理系統2.0暨輻防e++學園平台說明會
aecrp
0
1.9k
Soluciones al examen de Geografía 2026. JULIO (Convocatoria Extraordinaria)
juanmartin2026
1
18k
[2026前期火5] 論理学(京都大学文学部 前期 第6回)「かつとまたはの規則」
yatabe
0
470
Case Studies - Lecture 12 - Information Visualisation (4019538FNR)
signer
PRO
0
220
批判的応用言語学ワークショップ(2026-08-12 お茶の⽔⼥⼦⼤学)
terasawat
0
160
Lectura 1 (PIT : Python Basico)
robintux
0
1k
2026年度春学期 統計学 第8回(オンデマンド配信回) 演習(1)・問題に対する答案の書き方 (2026. 5. 21)
akiraasano
PRO
0
180
Soluciones al examen de Geografía 2026. JUNIO (Convocatoria Ordinaria)
juanmartin2026
1
8.8k
[2026前期火5] 論理学(京都大学文学部 前期 第8回)「正規化定理の証明」
yatabe
0
280
Featured
See All Featured
From π to Pie charts
rasagy
0
300
A Tale of Four Properties
chriscoyier
163
24k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Site-Speed That Sticks
csswizardry
13
1.4k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
470
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
780
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
The Cost Of JavaScript in 2023
addyosmani
55
10k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
280
BBQ
matthewcrist
89
10k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Transcript
None
None
Version control with Git
Github vs. GitLab vs. Bitbucket
Github
What is your current version control system?
What is your current version control system? 1. How do
you manage different file versions? 2. How do you work with collaborators on the same files? 3. How much would your science suffer if your workstation exploded right now? (scale from 1-10)
What is git • Version control system. • Manage different
versions of files. • Collaborate with yourself. • Collaborate with other people.
Why use git “Always remember your first collaborator is your
future self, and your past self doesn’t answer emails” - Christie Bahlai
What is git good for? Backup Reproducibility Collaboration Organization Transparency
Command line git
Initializing a repository Prerequisites: ▶ git installed (check with which
git) ▶ git configured (check with git config --list) git config --global user.name "Vlad Dracula" git config --global user.email "
[email protected]
" git config --global color.ui "auto" git config --global core.editor "nano"
Initializing a repository git git init
Checking repository status git status
Adding your file git add your_filename.R or, to add everything
git add --all
Ignoring files .gitignore
Adding a remote repository git remote add origin
[email protected]
:Codies/trygit.gitt
Checking repository status git status
None
Committing Once you’re sure that you’re changes are worth saving
(THIS WILL GO ON YOUR PERMANENT RECORD) git commit -m 'changed x, y, and z'
Commit messages ▶ Describe why and the what “in a
nutshell” ▶ Note to your future self (and to anyone else who you’re collaborating with)
Checking repository status git status
What did we do? git status git log
Make another change 1. Change file 2. Add changes 3.
Commit changes 4. View updated log
Branches
Pull Request Let’s do one!
Fix conflicts
Saving temporary your changes git stash git stash happy
Moving a commit to another branch git cherry-pick
Merging branches git merge
Rebase vs Merge git merge vs git rebase
Squashing commits git rebase -i HEAD~2
Gracias! - @codies_latam - @codiescolombia - /LadiesAndCode