SlideShare a Scribd company logo
Git Workflows 
, and life gets simple again
I 
whoami
Roman 
Kuba 
- FH-Master 2012 
- Freelancer 
- Lead Frontend Dev 
@Codeship 
- @Codebryo
Projects 
I had the pleasure to work for and with … 
Adidas, ServusTV, ORF, APA, David Copperfield, 
Toursprung, and many more
Projects 
Currently I am working as Lead Frontend Developer at 
Codeship. (www.codeship.io)
Tools & Languages 
Photoshop, Illustrator, Sketch, JS, CoffeeScript, Sass, 
Stylus, Jade, Slim, PHP, Ruby, Python, Codeigniter, Laravel, 
Ruby on Rails, HTML, Sublime Text, Atom, SVN, Git, 
Jasmin, Cucumber, Spec, Zepto, jQuery, AngularJS, 
Ember, Knockout, MySQL, PostgreSQL, SQLite, Redis
Tools & Languages 
Photoshop, Illustrator, Sketch, JS, CoffeeScript, Sass, 
Stylus, Jade, Slim, PHP, Ruby, Python, Codeigniter, Laravel, 
Ruby on Rails, HTML, Sublime Text, Atom, SVN, Git, 
Jasmin, Cucumber, Spec, Zepto, jQuery, AngularJS, 
Ember, Knockout, MySQL, PostgreSQL, SQLite, Redis
II 
what the git ?
Code Versioning
Write some Code -> Save it 
Change some Code 
Delete some Code -> Save it 
Oops I need some old code -> Revert it 
Do new Stuff -> Save it 
Eat some Pizza
First there was 
SVN
First there was 
SVN
I'm an egotistical bastard, and I name all my 
projects after myself. First Linux, now git. 
–Linus Torwalds
I'm an egotistical bastard, and I name all my 
projects after myself. First Linux, now git. 
–Linus Torwalds 
an unpleasant or contemptible person. 
git
What to know about Git 
light, easy, robust 
branches are gooood 
collaboration is awsm 
world leader in Software Versioning 
Platforms like GitHub, BitBucket, Gitlab, …
Important Commands 
pull 
add 
commit 
push 
merge 
checkout
III 
example
master
master 
+ README.md 
add + commit + push
master 
+ Feature start 
add + commit + push
master
master 
+ Feature 2 start 
add + commit + push
master 
2 Features started … 
bugs ?
master 
2 Features started … 
bugs ? BAD PRACTICE
master
master 
+ Feature start 
add + commit + push 
f-a
master 
f-a f-b 
+ Feature 2 start 
add + commit + push
master 
f-a f-b 
GOOD PRACTICE
master 
f-a f-b
master 
f-a f-b 
+ Feature complete 
+ merge
master 
f-a f-b 
+ Feature Ready
master 
f-a f-b
master 
f-a f-b
master 
f-a f-b
Git workflows (Basics)
Git workflows (Basics)
Git workflows (Basics)
IV 
TODO
Phase 1 
Create a Github Account 
Download the Github App 
Create a new Repository Locally 
Add a Project and Push it to Github 
Make some changes and Push again
Phase 2 
Create a Branch 
Make Changes ( 2 -3 commits ) to the Branch and 
Publish it 
Merge the Branch into Master
Phase 3 
Invite another User to your Project 
Checkout the other Project 
Make Similar changes to the same file and let the owner 
push second 
Solve the Merge Conflict 
Push and be happy
V 
Advanced
Git Extras 
https://github.com/visionmedia/git-extras
Smart Branching 
Create feature and bug branches: 
feature/flux-compensator 
bug/fix-leaking-on-flux-compensator
Don't merge alone 
Create Pull Requests for your Branches
but… 
you need to use the Terminal ( or other Software ) to have 
this "smart" branching
VI 
Extras
It's always worth to git 
Git for every project you have.
Use a good Editor 
Have you tried Atom ? 
https://atom.io/
thats just the beginning 
Codeship and others help you for the steps 
beyond your git repository
VII 
Questions

More Related Content

PDF
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
PDF
Git for Beginners
PPTX
Git kelvin
PDF
如何透過 Golang 與 Heroku 來一鍵部署 臉書機器人與 Line Bot
PDF
Migrating python.org to buildbot 9 and python 3
PDF
Jedi knight
PDF
Golang taipei #45 10th birthday
PPTX
Git Going w/ Git
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
Git for Beginners
Git kelvin
如何透過 Golang 與 Heroku 來一鍵部署 臉書機器人與 Line Bot
Migrating python.org to buildbot 9 and python 3
Jedi knight
Golang taipei #45 10th birthday
Git Going w/ Git

What's hot (20)

PDF
SpringOne 2GX 2015 - Fullstack Groovy developer
ODP
Besut Kode Challenge 1
ODP
Besut Kode - Workshop 1
PDF
componentDidCatch and Error Boundaries in React v16+
PPTX
Let's Git Together! - Hacktoberfest 2020
PDF
GitHub Introduction
PDF
Creating an api from design to security.
PDF
Source Control with Git & GitHub
PDF
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
PDF
A practical 30m intro to Git vcs
PDF
Git tutorial for CS320 Students
PDF
OpenAPIを利用したPythonWebアプリケーション開発
PDF
Introduction to GraphQL with Ruby
PDF
Git hooks for front end developers
PDF
HTTP / 1, HTTP / 2 and HTTP / 3: Past, present and the future of APIs
PDF
Git hooks
PDF
Code analysis for a better future
PPTX
Git hooks
PDF
用 Go 語言實戰 Push Notification 服務
PDF
Golang skills pre-session
SpringOne 2GX 2015 - Fullstack Groovy developer
Besut Kode Challenge 1
Besut Kode - Workshop 1
componentDidCatch and Error Boundaries in React v16+
Let's Git Together! - Hacktoberfest 2020
GitHub Introduction
Creating an api from design to security.
Source Control with Git & GitHub
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
A practical 30m intro to Git vcs
Git tutorial for CS320 Students
OpenAPIを利用したPythonWebアプリケーション開発
Introduction to GraphQL with Ruby
Git hooks for front end developers
HTTP / 1, HTTP / 2 and HTTP / 3: Past, present and the future of APIs
Git hooks
Code analysis for a better future
Git hooks
用 Go 語言實戰 Push Notification 服務
Golang skills pre-session
Ad

Similar to Git workflows (Basics) (20)

PPTX
Git n git hub
ODP
GIT from n00b
PPTX
3DC Intro to Git Workshop
PPT
Open up your platform with Open Source and GitHub
PPTX
Github for Serious Business Professional
PPT
PPTX
Workshop on Source control, git merge walkthroughs
PPTX
Git hub visualstudiocode
PPTX
Introduction to git and Github
PDF
Gerrit linuxtag2011
PDF
Getting started With GIT
PDF
Server Development Workflow For PicCollage
PDF
AIS Technical Development Workshop 3: Getting Started with Git and GitHub
PPTX
Using Git to Organize Your Project
PDF
Enterprise git
PPT
sbt: the incredible machine
PPTX
Github developing stack
PDF
Beginner Workshop for Student Developers - Tratech-presentation.pdf
PPT
Git workflows presentation
PDF
git-docker.pdf
Git n git hub
GIT from n00b
3DC Intro to Git Workshop
Open up your platform with Open Source and GitHub
Github for Serious Business Professional
Workshop on Source control, git merge walkthroughs
Git hub visualstudiocode
Introduction to git and Github
Gerrit linuxtag2011
Getting started With GIT
Server Development Workflow For PicCollage
AIS Technical Development Workshop 3: Getting Started with Git and GitHub
Using Git to Organize Your Project
Enterprise git
sbt: the incredible machine
Github developing stack
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Git workflows presentation
git-docker.pdf
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
RMMM.pdf make it easy to upload and study
PDF
Pre independence Education in Inndia.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
01-Introduction-to-Information-Management.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Classroom Observation Tools for Teachers
Cell Structure & Organelles in detailed.
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
RMMM.pdf make it easy to upload and study
Pre independence Education in Inndia.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Insiders guide to clinical Medicine.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Pharmacology of Heart Failure /Pharmacotherapy of CHF
01-Introduction-to-Information-Management.pdf
VCE English Exam - Section C Student Revision Booklet
Final Presentation General Medicine 03-08-2024.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Anesthesia in Laparoscopic Surgery in India
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Week 4 Term 3 Study Techniques revisited.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Classroom Observation Tools for Teachers

Git workflows (Basics)