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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Stella Miranda
October 25, 2018
Education
0
59
Git <> Codies
Stella Miranda
October 25, 2018
Tweet
Share
More Decks by Stella Miranda
See All by Stella Miranda
Pioneras Developers Barranquilla
stellamiranda
0
44
RailsGirlsCali
stellamiranda
0
18
bogotajs
stellamiranda
0
41
GDG-WTM
stellamiranda
0
75
Coderise 2015
stellamiranda
0
39
Coding like a girl
stellamiranda
1
16
devise-authy demo
stellamiranda
0
91
Other Decks in Education
See All in Education
演習:GitHubの基本操作 / 06-github-basic
kaityo256
PRO
0
200
Postcards
gabrielramirezv
0
160
演習:Gitの基本操作 / 04-git-basic
kaityo256
PRO
0
330
GOBUSATA紹介
chankawa919
0
120
資格支援制度-株式会社HIT
kabushikigaisya_hit
0
440
環境・社会理工学院(建築学系)大学院説明会 2026|東京科学大学(Science Tokyo)
sciencetokyo
PRO
0
430
滑空スポーツ講習会2025(実技講習)EMFT講習 実施要領/JSA EMFT 2025 procedure
jsaseminar
0
140
Surviving the surfaceless web
jonoalderson
0
730
2025-12-11 nakanoshima.dev LT
takesection
0
130
RGBでも蛍光を!? / RayTracingCamp11
kugimasa
2
460
The Next Big Step Toward Nuclear Disarmament
hide2kano
0
280
Leveraging LLMs for student feedback in introductory data science courses (Stats Up AI)
minecr
1
230
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
380
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
320
My Coaching Mixtape
mlcsv
0
69
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
470
Rails Girls Zürich Keynote
gr2m
96
14k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Technical Leadership for Architectural Decision Making
baasie
3
280
Scaling GitHub
holman
464
140k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
150
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.4k
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