Submit Search
Upload
Git Basics Philips
•
8 likes
•
1,076 views
Ariejan de Vroom
Follow
My Git Basics talk, adapted for presentation at Phillps.
Read less
Read more
Technology
Business
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 41
Recommended
Starting with Git & GitHub
Starting with Git & GitHub
Nicolás Tourné
Git and Github
Git and Github
Wen-Tien Chang
沒有 GUI 的 Git
沒有 GUI 的 Git
Chia Wei Tsai
Introduction to GitHub Actions
Introduction to GitHub Actions
Bo-Yi Wu
Advanced Git Tutorial
Advanced Git Tutorial
Sage Sharp
Git and git workflow best practice
Git and git workflow best practice
Majid Hosseini
Git
Git
Shinu Suresh
Git advanced
Git advanced
Peter Vandenabeele
Recommended
Starting with Git & GitHub
Starting with Git & GitHub
Nicolás Tourné
Git and Github
Git and Github
Wen-Tien Chang
沒有 GUI 的 Git
沒有 GUI 的 Git
Chia Wei Tsai
Introduction to GitHub Actions
Introduction to GitHub Actions
Bo-Yi Wu
Advanced Git Tutorial
Advanced Git Tutorial
Sage Sharp
Git and git workflow best practice
Git and git workflow best practice
Majid Hosseini
Git
Git
Shinu Suresh
Git advanced
Git advanced
Peter Vandenabeele
Inside GitHub with Chris Wanstrath
Inside GitHub with Chris Wanstrath
SV Ruby on Rails Meetup
Git, GitHub and Open Source
Git, GitHub and Open Source
Lorna Mitchell
Git One Day Training Notes
Git One Day Training Notes
glen_a_smith
Github basics
Github basics
Radoslav Georgiev
Intro to git and git hub
Intro to git and git hub
Venkat Malladi
Git Tutorial I
Git Tutorial I
Jim Yeh
Git & GitHub for Beginners
Git & GitHub for Beginners
Sébastien Saunier
Open Source Collaboration With Git And Git Hub
Open Source Collaboration With Git And Git Hub
Nick Quaranto
GitHub Presentation
GitHub Presentation
BrianSchilder
Flow
Flow
Eugen Martynov
Github - Git Training Slides: Foundations
Github - Git Training Slides: Foundations
Lee Hanxue
git and github
git and github
Darren Oakley
How we scaled git lab for a 30k employee company
How we scaled git lab for a 30k employee company
Minqi Pan
The Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHub
BigBlueHat
Git'in on Windows
Git'in on Windows
Stacy Vicknair
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
Evan Lin
Git and Github workshop
Git and Github workshop
Otto Kekäläinen
Git'in in 15
Git'in in 15
Stacy Vicknair
Brief tutorial on Git
Brief tutorial on Git
聖文 鄭
Git Pull Requests
Git Pull Requests
Callon Campbell
140107網路創業者需要注意的著作權法問題
140107網路創業者需要注意的著作權法問題
Wenchi Lai
Diapexporock
Diapexporock
bm saint rapahel
More Related Content
What's hot
Inside GitHub with Chris Wanstrath
Inside GitHub with Chris Wanstrath
SV Ruby on Rails Meetup
Git, GitHub and Open Source
Git, GitHub and Open Source
Lorna Mitchell
Git One Day Training Notes
Git One Day Training Notes
glen_a_smith
Github basics
Github basics
Radoslav Georgiev
Intro to git and git hub
Intro to git and git hub
Venkat Malladi
Git Tutorial I
Git Tutorial I
Jim Yeh
Git & GitHub for Beginners
Git & GitHub for Beginners
Sébastien Saunier
Open Source Collaboration With Git And Git Hub
Open Source Collaboration With Git And Git Hub
Nick Quaranto
GitHub Presentation
GitHub Presentation
BrianSchilder
Flow
Flow
Eugen Martynov
Github - Git Training Slides: Foundations
Github - Git Training Slides: Foundations
Lee Hanxue
git and github
git and github
Darren Oakley
How we scaled git lab for a 30k employee company
How we scaled git lab for a 30k employee company
Minqi Pan
The Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHub
BigBlueHat
Git'in on Windows
Git'in on Windows
Stacy Vicknair
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
Evan Lin
Git and Github workshop
Git and Github workshop
Otto Kekäläinen
Git'in in 15
Git'in in 15
Stacy Vicknair
Brief tutorial on Git
Brief tutorial on Git
聖文 鄭
Git Pull Requests
Git Pull Requests
Callon Campbell
What's hot
(20)
Inside GitHub with Chris Wanstrath
Inside GitHub with Chris Wanstrath
Git, GitHub and Open Source
Git, GitHub and Open Source
Git One Day Training Notes
Git One Day Training Notes
Github basics
Github basics
Intro to git and git hub
Intro to git and git hub
Git Tutorial I
Git Tutorial I
Git & GitHub for Beginners
Git & GitHub for Beginners
Open Source Collaboration With Git And Git Hub
Open Source Collaboration With Git And Git Hub
GitHub Presentation
GitHub Presentation
Flow
Flow
Github - Git Training Slides: Foundations
Github - Git Training Slides: Foundations
git and github
git and github
How we scaled git lab for a 30k employee company
How we scaled git lab for a 30k employee company
The Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHub
Git'in on Windows
Git'in on Windows
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
Git and Github workshop
Git and Github workshop
Git'in in 15
Git'in in 15
Brief tutorial on Git
Brief tutorial on Git
Git Pull Requests
Git Pull Requests
Viewers also liked
140107網路創業者需要注意的著作權法問題
140107網路創業者需要注意的著作權法問題
Wenchi Lai
Diapexporock
Diapexporock
bm saint rapahel
AtticTV and NodeJS
AtticTV and NodeJS
Grey Ang
Diap Acid Vicious
Diap Acid Vicious
bm saint rapahel
Rock with knockout
Rock with knockout
Kirk Chen
AppDC 03, App x Design, Tony, Mobile 情感設計
AppDC 03, App x Design, Tony, Mobile 情感設計
KNY. KUN CHU. 坤助 陳. CHEN
Viewers also liked
(6)
140107網路創業者需要注意的著作權法問題
140107網路創業者需要注意的著作權法問題
Diapexporock
Diapexporock
AtticTV and NodeJS
AtticTV and NodeJS
Diap Acid Vicious
Diap Acid Vicious
Rock with knockout
Rock with knockout
AppDC 03, App x Design, Tony, Mobile 情感設計
AppDC 03, App x Design, Tony, Mobile 情感設計
Similar to Git Basics Philips
Git Basics at Rails Underground
Git Basics at Rails Underground
Ariejan de Vroom
Git Basics - RubyFest 2009
Git Basics - RubyFest 2009
Ariejan de Vroom
Git Magic: Versioning Files like a Boss
Git Magic: Versioning Files like a Boss
tmacwilliam
Git Started With Git
Git Started With Git
Nick Quaranto
Git Tech Talk
Git Tech Talk
Chris Johnson
Loading...git
Loading...git
Rafael García
Introduction To Git
Introduction To Git
Arnaud Seilles
Git presentation
Git presentation
James Cuzella
Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with Git
Robert Lee-Cann
Git in 5 Minutes
Git in 5 Minutes
Robert Dumas
Working with Git
Working with Git
Pete Nicholls
Wokshop de Git
Wokshop de Git
Alberto Leal
Source control management
Source control management
Owen Winkler
Git Distributed Version Control System
Git Distributed Version Control System
Victor Wong
Git the Docs: A fun, hands-on introduction to version control
Git the Docs: A fun, hands-on introduction to version control
Becky Todd
Git Obstacle Course: Stop BASHing your head and break down the basics
Git Obstacle Course: Stop BASHing your head and break down the basics
Chris Bohatka
The git
The git
Leonardo YongUk Kim
Git isthenewsexy
Git isthenewsexy
Ailsa126
Basic git
Basic git
Casper Chen
Git - An Introduction
Git - An Introduction
Behzad Altaf
Similar to Git Basics Philips
(20)
Git Basics at Rails Underground
Git Basics at Rails Underground
Git Basics - RubyFest 2009
Git Basics - RubyFest 2009
Git Magic: Versioning Files like a Boss
Git Magic: Versioning Files like a Boss
Git Started With Git
Git Started With Git
Git Tech Talk
Git Tech Talk
Loading...git
Loading...git
Introduction To Git
Introduction To Git
Git presentation
Git presentation
Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with Git
Git in 5 Minutes
Git in 5 Minutes
Working with Git
Working with Git
Wokshop de Git
Wokshop de Git
Source control management
Source control management
Git Distributed Version Control System
Git Distributed Version Control System
Git the Docs: A fun, hands-on introduction to version control
Git the Docs: A fun, hands-on introduction to version control
Git Obstacle Course: Stop BASHing your head and break down the basics
Git Obstacle Course: Stop BASHing your head and break down the basics
The git
The git
Git isthenewsexy
Git isthenewsexy
Basic git
Basic git
Git - An Introduction
Git - An Introduction
Recently uploaded
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Fwdays
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
ngoud9212
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
BookNet Canada
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Pixlogix Infotech
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Slibray Presentation
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
Deakin University
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
costume and set research powerpoint presentation
costume and set research powerpoint presentation
phoebematthew05
Recently uploaded
(20)
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
costume and set research powerpoint presentation
costume and set research powerpoint presentation
Git Basics Philips
1.
GIT BASICS by Ariejan
de Vroom – Kabisa ICT 30th Juny 2009
2.
WHAT THE GIT?! “I'm
an egotistical bastard, and I name all my projects after myself. First Linux, now git.” – Linus Torvalds
3.
GET GIT! http://git-scm.com/
4.
5.
SURVEY • Who is
NOT using version control? • SubVersion? • Anything else?
6.
WHY GIT?! • Distributed
Repositories • Non-linear Development • Very fast branching and merging • Toolkit Design • Scales • Cryptographic authentication of history.
7.
LET’S ROCK! ~/gitbasics $
git init Initialized empty Git repository in /Users/ariejan/gitbasics/.git/
8.
LET’S ROLL! ~/gitbasics $
git clone git@github.com/ariejan/gitbasics.git
9.
~/gitbasics $ echo
"Live long and prosper" > README ~/gitbasics $ git add README ~/gitbasics $ git commit -m "Added README" [master (root-commit)]: created 8e60b09: "Added README" 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 README
10.
WHAT JUST HAPPENED? ~/gitbasics
$ git log commit 8e60b09d3082e9473944075cc01b3b67bb97d5c3 Author: Ariejan de Vroom <ariejan@ariejan.net> Date: Mon May 11 21:51:24 2009 +0200 Added README
11.
HOW GIT WORKS
Working Directory git add Staging Area git commit Repository
12.
WORKFLOW • Hack! (
TextMate, vim, ... ) • Stage your changes ( git add ) • Review your changes ( git status | diff ) • Commit (locally) ( git commit ) • Repeat
13.
USING BRANCHES • Very,
very fast • Keep different code paths separate • Try new things • Atomic merges!
14.
SURVEY • How many
of you use branching? • Do you work exclusively on trunk/master? • NEVER work on trunk/master?
15.
BRANCHING c1
c2 c3 c4 c5 c6
16.
LET’S BRANCH! ~/gitbasics $
git checkout -b new_feature Switched to a new branch "new_feature" ~/gitbasics $ git branch master * new_feature ~/gitbasics $ git checkout master Switched to branch "master" ~/gitbasics $ git branch -d feature3 Deleted branch feature3
17.
MERGING • Merge two
branches together • Add new features • Add bugs fixes
18.
MERGING c1
c2 c3 c4 c7 c5 c6
19.
MERGING ~/gitbasics $ git
checkout master Switched to branch "master" ~/gitbasics $ git merge new_feature
20.
REBASING • Bring a
branch up-to-date • Rebasing is rewriting history! • Don’t use rebasing on a branch you’re sharing!
21.
REBASING c1
c2 c3 c4 c3’ c4’ c5 c6
22.
REBASING ~/gitbasics $ git
checkout new_feature Switched to branch "new_feature" ~/gitbasics $ git rebase master
23.
REMOTE • Store and
share your code! • github.com • gitosis ( self-managed over SSH )
24.
PUSH ~/gitbasics $ git
add origin git@github.com/ariejan/ gitbasics.git ~/gitbasics $ git push origin master
25.
FETCH / PULL ~/gitbasics
$ git fetch origin ~/gitbasics $ git pull origin master
26.
WORKFLOW
Working Directory add Staging Area commit checkout merge Repository push fetch pull Remote
27.
TAGGING • Mark a
point in history • Optionally sign it cryptographically with GnuPG
28.
TAGGING
v1.0 c1 c2 c3 c4
29.
TAGGING ~/gitbasics $ git
tag -a -m "Tag v1.0" v1.0 Switched to branch "new_feature" ~/gitbasics $ git tag v1.0 ~/gitbasics $ git push --tags
30.
THE STASH • Stash
away uncommited changes • Ideal for quick bug fixes!
31.
THE STASH ~/gitbasics $
git status # modified: README ~/gitbasics $ git stash ~/gitbasics $ git status nothing to commit # Hack, stage, review, commit, etc. ~/gitbasics $ git stash pop ~/gitbasics $ git status # modified: README
32.
CONFLICTS • Conflicts happen •
Git is clever • Easy to resolve manually • Merges are atomic!
33.
CONFLICTS ~/gitbasics $ git
merge awesome_feature Auto-merged README CONFLICT (content): Merge conflict in README Automatic merge failed; fix conflicts and then commit the result. ~/gitbasics $ vim README ~/gitbasics $ git add README ~/gitbasics $ git commit -m “fixed merge conflict”
34.
GIT-SVN It’s like being
the Chuck Norris of the team!
35.
ASSUME THIS ~/gitbasics $
svn log http://svnhub.com/project/trunk ------------------------------------------------------ r17048 | ariejan | 2009-06-30 .... Updated README. SVN Repository courtesy of SVNHub.com
36.
CHECKOUT ~ $ mkdir
gitbasics ~ $ cd gitbasics ~/gitbasics $ git-svn init http://svnhub.com/project/ trunk ~/gitbasics $ git-svn fetch -r17048 A README
37.
UPDATE ~/gitbasics $ git-svn
rebase
38.
COMMIT ~/gitbasics $ git-svn
dcommit
39.
WORKFLOW ~/gitbasics $ git-svn
init URL ~/gitbasics $ git-svn rebase && git-svn fetch ~/gitbasics $ git checkout -b new_feature ~/gitbasics $ git add && git commit ~/gitbasics $ git checkout master ~/gitbasics $ git-svn rebase ~/gitbasics $ git merge new_feature ~/gitbasics $ git-svn dcommit
40.
SURVEY • Who is
going to try Git? • Stick with SubVersion? • Try git-svn?
41.
THANKS! Slides will be
published at http://slideshare.net/ariejan Contact me at ariejan@kabisa.nl