SlideShare a Scribd company logo
GIT EMPOWERED
Git Empowered
Git Empowered
THE TALK IS BROKEN INTO THREE
PARTS…
JMac
AGENDA
MESSING WITH COMMITS
PART 1
EVERYDAY WORKFLOWS
PART 2
WHEN GIT HAPPENS…
PART 3
EACH PART WILL BE ROUGHLY 15
MINUTES WITH A QUICK DEMO IN
BETWEEN.
JMac
AGENDA
I BELIEVE IN USING GIT VIA THE
COMMAND LINE.
JMac
FORMAT
BECAUSE GIT IS POWERFUL AND IT’S
BEST TO YIELD THAT POWER DIRECTLY.
JMac
FORMAT
OPEN A TERMINAL
UNIX BASED SYSTEM
PLEASE LEAVE
WINDOWS
Git Empowered
GIT BASH
WINDOWS < 10
GIT EMPOWERED
GIT TERMINOLOGY
▸ repository or repo
▸ commit
▸ SHA or hash
▸ history or tree
▸ branch
▸ HEAD
GIT EMPOWERED
VISUALIZING THE TERMINOLOGY
commit
tree
c45fb1e
7df5edb
f88d321
be584f3
HEAD
branch
203ecc1
MESSING WITH COMMITS
PART 1
add + commit
git add .
git commit -am
Git Empowered
git add -p
git add -i
Git Empowered
DEMO
commit --amend
commit --squash
commit --fixup
rebase -i
rebase --autosquash
GIT EMPOWERED
VISUALIZING THE COMMANDS
tree
2
3
4
1
GIT EMPOWERED
VISUALIZING THE COMMANDS
tree
2
3
4
1
fixup + squash
GIT EMPOWERED
VISUALIZING THE COMMANDS
tree
2 + 3
1
rebase --autosquash
DEMO
git cherry-pick
GIT EMPOWERED
VISUALIZING THE COMMANDS
master
203ecc1
GIT EMPOWERED
VISUALIZING THE COMMANDS
master
203ecc1
f88d321
cherry-pick
ONCE YOU’VE “SHARED” YOUR WORK,
REWRITING HISTORY IS A VERY
DANGEROUS THING.
JMac
AGENDA
EVERYDAY WORKFLOWS
PART 2
git logo
git log --oneline
gst
git status
GIT EMPOWERED
GITHUB FLOW
master
feature
branch
GIT EMPOWERED
GITHUB FLOW
master
merge
GIT EMPOWERED
GITHUB FLOW
master
feature
branch
GIT EMPOWERED
GITHUB FLOW
master
merge
Git Empowered
GIT EMPOWERED
GITHUB FLOW
master
feature
branch
GIT EMPOWERED
GITHUB FLOW
master
feature
rebase
GIT EMPOWERED
GITHUB FLOW
master
merge
DEMO
WHEN GIT HAPPENS…
PART 3
Git Empowered
reflog
GIT EMPOWERED
VISUALIZING THE COMMANDS
reflog
c45fb1e
7df5edb
f88d321
be584f3
bisect
Git Empowered
WHEN ALL ELSE FAILS, JUST MAKE A
BRANCH TO SERVE AS A BACKUP.
JMac
AGENDA
DEMO
QUESTIONS
FOLLOW ME ON TWITTER AND EMAIL ME
FOR A COUPON FOR THE “GETTING GIT”
SCREENCASTS.
JMac - @gonedark - jason@pureconcepts.net
THANKS

More Related Content

PDF
Zend Framework Foundations
PPTX
Engineer - Mastering the Art of Software
PDF
Create, test, secure, repeat
PDF
Adding 1.21 Gigawatts to Applications with RabbitMQ (Bulgaria PHP 2016 - Tuto...
PDF
php[world] 2015 Training - Laravel from the Ground Up
PDF
Amp your site an intro to accelerated mobile pages
PDF
Hack the Future
PDF
Console Apps: php artisan forthe:win
Zend Framework Foundations
Engineer - Mastering the Art of Software
Create, test, secure, repeat
Adding 1.21 Gigawatts to Applications with RabbitMQ (Bulgaria PHP 2016 - Tuto...
php[world] 2015 Training - Laravel from the Ground Up
Amp your site an intro to accelerated mobile pages
Hack the Future
Console Apps: php artisan forthe:win

Viewers also liked (20)

PDF
Presentation Bulgaria PHP
PDF
Dip Your Toes in the Sea of Security
PDF
Code Coverage for Total Security in Application Migrations
PPTX
Php extensions
PDF
SunshinePHP 2017 - Making the most out of MySQL
PDF
Conscious Coupling
PPTX
Modern sql
PDF
Intermediate OOP in PHP
PDF
200K+ reasons security is a must
PDF
PHP World DC 2015 - What Can Go Wrong with Agile Development and How to Fix It
PDF
Enough suffering, fix your architecture!
PDF
Website Accessibility: It’s the Right Thing to do
PPTX
Automating Your Workflow with Gulp.js - php[world] 2016
PDF
Kicking off with Zend Expressive and Doctrine ORM (Sunshine PHP 2017)
PPTX
Debugging Effectively - SunshinePHP 2017
PDF
Getting instantly up and running with Docker and Symfony
PDF
How I started to love design patterns
PDF
Redis for your boss
PPTX
A World Without PHP
PPTX
How We Got Here: A Brief History of Open Source
Presentation Bulgaria PHP
Dip Your Toes in the Sea of Security
Code Coverage for Total Security in Application Migrations
Php extensions
SunshinePHP 2017 - Making the most out of MySQL
Conscious Coupling
Modern sql
Intermediate OOP in PHP
200K+ reasons security is a must
PHP World DC 2015 - What Can Go Wrong with Agile Development and How to Fix It
Enough suffering, fix your architecture!
Website Accessibility: It’s the Right Thing to do
Automating Your Workflow with Gulp.js - php[world] 2016
Kicking off with Zend Expressive and Doctrine ORM (Sunshine PHP 2017)
Debugging Effectively - SunshinePHP 2017
Getting instantly up and running with Docker and Symfony
How I started to love design patterns
Redis for your boss
A World Without PHP
How We Got Here: A Brief History of Open Source
Ad

Similar to Git Empowered (20)

KEY
Git Basics Philips
PPTX
Git workshop 33degree 2011 krakow
PPTX
Introduce to Git and Jenkins
PDF
Git essentials
PDF
Vincit Teatime 2015.2 - Otto Kekäläinen: Don't be a git
KEY
Git Basics at Rails Underground
PDF
Git with the flow
PPTX
Git Obstacle Course: Stop BASHing your head and break down the basics
PPTX
An introduction to Git and GitFlow
PDF
Git Tricks — git utilities that make life git easier
PDF
Git it on (includes git hub)
PDF
Pro git - grasping it conceptually
PDF
Exprimiendo GIT
PDF
Advanced Git Tutorial
PPTX
MakingGitWorkForYou
PPTX
Git like a pro EDD18 - Full edition
PPT
Introduction to git
PDF
Collaborative development with Git | Workshop
PPTX
Git workshop
KEY
Let's Git this Party Started: An Introduction to Git and GitHub
Git Basics Philips
Git workshop 33degree 2011 krakow
Introduce to Git and Jenkins
Git essentials
Vincit Teatime 2015.2 - Otto Kekäläinen: Don't be a git
Git Basics at Rails Underground
Git with the flow
Git Obstacle Course: Stop BASHing your head and break down the basics
An introduction to Git and GitFlow
Git Tricks — git utilities that make life git easier
Git it on (includes git hub)
Pro git - grasping it conceptually
Exprimiendo GIT
Advanced Git Tutorial
MakingGitWorkForYou
Git like a pro EDD18 - Full edition
Introduction to git
Collaborative development with Git | Workshop
Git workshop
Let's Git this Party Started: An Introduction to Git and GitHub
Ad

More from Jason McCreary (8)

PDF
BDD in iOS with Cedar
PDF
All Aboard for Laravel 5.1
PDF
Patterns, Code Smells, and The Pragmattic Programmer
PDF
Cache, Workers, and Queues
PDF
From CakePHP to Laravel
PDF
21 Ways to Make WordPress Fast
KEY
21 Ways to Make WordPress Fast
KEY
Configuring WordPress for Multiple Environments
BDD in iOS with Cedar
All Aboard for Laravel 5.1
Patterns, Code Smells, and The Pragmattic Programmer
Cache, Workers, and Queues
From CakePHP to Laravel
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
Configuring WordPress for Multiple Environments

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Machine learning based COVID-19 study performance prediction
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
KodekX | Application Modernization Development
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Spectral efficient network and resource selection model in 5G networks
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Approach and Philosophy of On baking technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation_ Review paper, used for researhc scholars
Machine learning based COVID-19 study performance prediction
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Programs and apps: productivity, graphics, security and other tools
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
Chapter 3 Spatial Domain Image Processing.pdf
KodekX | Application Modernization Development
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
The AUB Centre for AI in Media Proposal.docx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Understanding_Digital_Forensics_Presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Approach and Philosophy of On baking technology

Git Empowered