SlideShare une entreprise Scribd logo
1  sur  49
Télécharger pour lire hors ligne
GitHub for Designers
Ash Furrow, Teehan+Lax
@ashfurrow
Learn the fundamentals of git and GitHub in
order to better collaborate with teams.
Agenda
• Git & GitHub
• Git is a Tool for Managing Files
• The Fundamentals
• Using Git doesn’t Mean Using the Command
Line
4
Git & GitHub
Git & GitHub
• Git is a tool for managing files (more on that later)
• GitHub is a website for using git
6
Git & GitHub
• Git can be used independently of GitHub
• Even offline!
• This talk is about using Git & GitHub together
7
Git is a Tool for Managing Files
Git is a Tool for Managing Files
• Git manages simple files
• Text and flat graphics, not PSDs
• CSS, HTML, PNG
• PSDs are too complex for git to manage
• Use LayerVault, instead
9
Git is a Tool for Managing Files
• What does “manage” mean?
• History (who did what, and when?)
• Conflicts (multiple people modifying the
same file)
10
The Fundamentals
(More like FUNdamentals, amirite?)
Pulling Down from Remote
12
Your Branch
master
master
remote
local
Your Branch
Pull Request
PushPull Pull
A Repose About Repos
• A repository – or “repo” – is a home for git to
put all its files
• Repos can exist locally (on your computer) or
remotely (on GitHub) – more on this later
13
Branches
• Hard to define
• Branches are used to isolate changes to files
• Branches are cheap
• Create lots of ‘em
• Ideally one for each new feature/bug fix
14
Branching
• Creating a new branch is called “branching”
• Branch to create new features
• Create new branches off of “master” branch
• Master is the canonical branch
• “Latest and Greatest”
15
Branching
• File system metaphor
16
Branching
17
Your Branch
master
Creating a new branch
Commits
• When you’ve completed a feature or a fix,
make a commit
• Commits are snapshots of the staged
changes you made
• Not all changes need to be committed
18
Committing
• Branches are just a series of commits
• Committing enters that commit into the git log
• You can see who changed what, and when
19
Committing
• Commits include a “commit message”
describing the changes
20
Committing
1. Stage changes
2. Commit staged changes
21
Committing
22
Your Branch
master
commit 1 commit 2
Local vs. Remote
• The master branch exists locally (on your
computer) and remotely (on GitHub)
• Your new branch exists only locally
23
Local vs. Remote
• File server metaphor
24
Local vs. Remote
• All work is done locally on local branches
• When ready, you “push” a branch to the remote
• More on pushing shortly
25
Local vs. Remote
• Where did “master” come from?
• The remote
26
Pulling & Pushing
27
Your Branch
master
master
remote
local
Pull
Pulling & Pushing
• Transitive verbs
• Pushing/pulling depends on context
28
Pulling & Pushing
1. Pull master from GitHub
2. Branch
3. Make commits
4. Push branch to GitHub
29
Pulling & Pushing
30
Your Branch
master
master
remote
local
Your Branch
PushPull
Pull Requests
• Pull requests are requests to have changes
“pulled” into another branch, usually master
• Pull requests exist only on GitHub
• “Request” because someone else is looking it
over for mistakes
• Not that you ever make those
31
Pull Requests
• Designate someone on your team as a
“Gatekeeper”
32
Pull Requests
33
Your Branch
master
master
remote
local
Your Branch
Pull Request
PushPull
Pull Requests
• Now all of your changes exist on master
• Only the remote master
• You need to “pull” master down again
34
Pulling Down from Remote
35
Your Branch
master
master
remote
local
Your Branch
Pull Request
PushPull Pull
Cloning
Cloning
• Copies the remote repo to your local
• Only done once per repo
• “Initial Setup”
37
Pulling & Pushing
1. Clone
2. Pull master from GitHub
3. Branch
4. Make commits
5. Push branch to GitHub
6. Pull Request
38
Issues
• GitHub has “Issues”
• Issues are conversations about the code
• Bugs, features, improvements, etc...
• You can reference issues in commit messages
39
Issues
40
Conflicts
Conflicts
• Sometimes files conflict
• Git will usually sort it out
• Sometimes it can’t
42
Conflicts
<<<<<<< HEAD
Hello world
=======
Goodbye
>>>>>>> some_other_branch_name
43
Using Git doesn’t Mean Using
the Command Line
Using Git doesn’t Mean Using the Command Line
• There are powerful, GUI tools for using git
• Git Tower
• GitHub for Mac
• SourceTree
45
Using Git doesn’t Mean Using the Command Line
• Important: all these tools rely on the
fundamentals we learnt earlier
46
Demo
Recap
• Git & GitHub
• Git is a Tool for Managing Files
• The Fundamentals
• Using Git doesn’t Mean Using the Command
Line
48
Ash Furrow
October 3, 2013
Thanks!

Contenu connexe

Tendances

Tendances (20)

Git 101 for Beginners
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
 
Git tips and tricks
Git   tips and tricksGit   tips and tricks
Git tips and tricks
 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02
 
Git, GitHub and Open Source
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open Source
 
D-DAY 2015 Continuous delivery GITHUB
D-DAY 2015 Continuous delivery  GITHUBD-DAY 2015 Continuous delivery  GITHUB
D-DAY 2015 Continuous delivery GITHUB
 
Working with Git
Working with GitWorking with Git
Working with Git
 
GIT presentation
GIT presentationGIT presentation
GIT presentation
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Git tutorial II
Git tutorial IIGit tutorial II
Git tutorial II
 
Real-World Git
Real-World GitReal-World Git
Real-World Git
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Github
GithubGithub
Github
 
Practical Git - NYC Code Camp
Practical Git - NYC Code CampPractical Git - NYC Code Camp
Practical Git - NYC Code Camp
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
 
Getting Started with GitHub
Getting Started with GitHubGetting Started with GitHub
Getting Started with GitHub
 
Git hub ppt presentation
Git hub ppt presentationGit hub ppt presentation
Git hub ppt presentation
 
Git - A soft introduction
Git - A soft introductionGit - A soft introduction
Git - A soft introduction
 
GitHub
GitHubGitHub
GitHub
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
 
Git for Android Developers
Git for Android DevelopersGit for Android Developers
Git for Android Developers
 

En vedette

Charity apprentice logo-blue-6675
Charity apprentice logo-blue-6675Charity apprentice logo-blue-6675
Charity apprentice logo-blue-6675
FITC
 
Process
ProcessProcess
Process
FITC
 

En vedette (20)

Hobnob v05
Hobnob v05Hobnob v05
Hobnob v05
 
It’s Not Enough To Be Brilliant – You Have To Be Convincing, Too. with Lanny...
 It’s Not Enough To Be Brilliant – You Have To Be Convincing, Too. with Lanny... It’s Not Enough To Be Brilliant – You Have To Be Convincing, Too. with Lanny...
It’s Not Enough To Be Brilliant – You Have To Be Convincing, Too. with Lanny...
 
Rik
RikRik
Rik
 
OneMethod in a Nutshell
OneMethod in a NutshellOneMethod in a Nutshell
OneMethod in a Nutshell
 
Responsive Design Techniques, Tools and Design Strategies with Paul Trani
 Responsive Design Techniques, Tools and Design Strategies with Paul Trani Responsive Design Techniques, Tools and Design Strategies with Paul Trani
Responsive Design Techniques, Tools and Design Strategies with Paul Trani
 
Meet MILL+ with Carl Addy
Meet MILL+ with Carl AddyMeet MILL+ with Carl Addy
Meet MILL+ with Carl Addy
 
Make Something Ugly: An Experimental Creative Process with Myron Campbell
Make Something Ugly: An Experimental Creative Process with Myron CampbellMake Something Ugly: An Experimental Creative Process with Myron Campbell
Make Something Ugly: An Experimental Creative Process with Myron Campbell
 
Hacking the Creative Brain
Hacking the Creative Brain Hacking the Creative Brain
Hacking the Creative Brain
 
Developing Interactive 3D Experiences in HTML5 with Carlos Ulloa
Developing Interactive 3D Experiences in HTML5 with Carlos UlloaDeveloping Interactive 3D Experiences in HTML5 with Carlos Ulloa
Developing Interactive 3D Experiences in HTML5 with Carlos Ulloa
 
HelloRun: A Hypnotic 3D Runner Music Game
HelloRun: A Hypnotic 3D Runner Music GameHelloRun: A Hypnotic 3D Runner Music Game
HelloRun: A Hypnotic 3D Runner Music Game
 
Mistakes, Lessons, and Being Creative
Mistakes, Lessons, and Being CreativeMistakes, Lessons, and Being Creative
Mistakes, Lessons, and Being Creative
 
Shepherding Innovation
Shepherding InnovationShepherding Innovation
Shepherding Innovation
 
OneMethod
OneMethodOneMethod
OneMethod
 
Experimenting with Creative Process with Qanta Shimizu
Experimenting with Creative Process with Qanta ShimizuExperimenting with Creative Process with Qanta Shimizu
Experimenting with Creative Process with Qanta Shimizu
 
Fitc presentation
Fitc presentationFitc presentation
Fitc presentation
 
Backyard Brains: Bringing the Body’s Electrical Signals Out of the Body
Backyard Brains: Bringing the Body’s Electrical Signals Out of the BodyBackyard Brains: Bringing the Body’s Electrical Signals Out of the Body
Backyard Brains: Bringing the Body’s Electrical Signals Out of the Body
 
Charity apprentice logo-blue-6675
Charity apprentice logo-blue-6675Charity apprentice logo-blue-6675
Charity apprentice logo-blue-6675
 
The Sum Is Greater Than The Parts
 The Sum Is Greater Than The Parts The Sum Is Greater Than The Parts
The Sum Is Greater Than The Parts
 
Unity: From Indie Game Start-Up to International Real-Time 3D Tool of Choice
Unity: From Indie Game Start-Up to International Real-Time 3D Tool of ChoiceUnity: From Indie Game Start-Up to International Real-Time 3D Tool of Choice
Unity: From Indie Game Start-Up to International Real-Time 3D Tool of Choice
 
Process
ProcessProcess
Process
 

Similaire à Git hub for designers

Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitBeginner's Guide to Version Control with Git
Beginner's Guide to Version Control with Git
Robert Lee-Cann
 

Similaire à Git hub for designers (20)

Git 101: Git and GitHub for Beginners
Git 101: Git and GitHub for Beginners Git 101: Git and GitHub for Beginners
Git 101: Git and GitHub for Beginners
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
 
Git Workflow
Git WorkflowGit Workflow
Git Workflow
 
git and github
git and githubgit and github
git and github
 
O365Con18 - Git and GitHub - Rick van Rousselt
O365Con18 - Git and GitHub - Rick van RousseltO365Con18 - Git and GitHub - Rick van Rousselt
O365Con18 - Git and GitHub - Rick van Rousselt
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHub
 
Learn Git form Beginners to Master
Learn Git form Beginners to MasterLearn Git form Beginners to Master
Learn Git form Beginners to Master
 
Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitBeginner's Guide to Version Control with Git
Beginner's Guide to Version Control with Git
 
The Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHubThe Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHub
 
Git for folk who like GUIs
Git for folk who like GUIsGit for folk who like GUIs
Git for folk who like GUIs
 
Git and Github slides.pdf
Git and Github slides.pdfGit and Github slides.pdf
Git and Github slides.pdf
 
Git and Github workshop ppt slide by slide
Git and Github workshop ppt slide by slideGit and Github workshop ppt slide by slide
Git and Github workshop ppt slide by slide
 
11 git version control
11 git version control11 git version control
11 git version control
 
Git and Github
Git and GithubGit and Github
Git and Github
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
 
Switching to Git
Switching to GitSwitching to Git
Switching to Git
 
Demo
DemoDemo
Demo
 
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
 
Github
GithubGithub
Github
 

Plus de FITC

Designing for Digital Health
Designing for Digital HealthDesigning for Digital Health
Designing for Digital Health
FITC
 
Profiling JavaScript Performance
Profiling JavaScript PerformanceProfiling JavaScript Performance
Profiling JavaScript Performance
FITC
 
HyperLight Websites
HyperLight WebsitesHyperLight Websites
HyperLight Websites
FITC
 
Everything is Terrifying
Everything is TerrifyingEverything is Terrifying
Everything is Terrifying
FITC
 
Post-Earth Visions: Designing for Space and the Future Human
Post-Earth Visions: Designing for Space and the Future HumanPost-Earth Visions: Designing for Space and the Future Human
Post-Earth Visions: Designing for Space and the Future Human
FITC
 

Plus de FITC (20)

Cut it up
Cut it upCut it up
Cut it up
 
Designing for Digital Health
Designing for Digital HealthDesigning for Digital Health
Designing for Digital Health
 
Profiling JavaScript Performance
Profiling JavaScript PerformanceProfiling JavaScript Performance
Profiling JavaScript Performance
 
Surviving Your Tech Stack
Surviving Your Tech StackSurviving Your Tech Stack
Surviving Your Tech Stack
 
How to Pitch Your First AR Project
How to Pitch Your First AR ProjectHow to Pitch Your First AR Project
How to Pitch Your First AR Project
 
Start by Understanding the Problem, Not by Delivering the Answer
Start by Understanding the Problem, Not by Delivering the AnswerStart by Understanding the Problem, Not by Delivering the Answer
Start by Understanding the Problem, Not by Delivering the Answer
 
Cocaine to Carrots: The Art of Telling Someone Else’s Story
Cocaine to Carrots: The Art of Telling Someone Else’s StoryCocaine to Carrots: The Art of Telling Someone Else’s Story
Cocaine to Carrots: The Art of Telling Someone Else’s Story
 
Everyday Innovation
Everyday InnovationEveryday Innovation
Everyday Innovation
 
HyperLight Websites
HyperLight WebsitesHyperLight Websites
HyperLight Websites
 
Everything is Terrifying
Everything is TerrifyingEverything is Terrifying
Everything is Terrifying
 
Post-Earth Visions: Designing for Space and the Future Human
Post-Earth Visions: Designing for Space and the Future HumanPost-Earth Visions: Designing for Space and the Future Human
Post-Earth Visions: Designing for Space and the Future Human
 
The Rise of the Creative Social Influencer (and How to Become One)
The Rise of the Creative Social Influencer (and How to Become One)The Rise of the Creative Social Influencer (and How to Become One)
The Rise of the Creative Social Influencer (and How to Become One)
 
East of the Rockies: Developing an AR Game
East of the Rockies: Developing an AR GameEast of the Rockies: Developing an AR Game
East of the Rockies: Developing an AR Game
 
Creating a Proactive Healthcare System
Creating a Proactive Healthcare SystemCreating a Proactive Healthcare System
Creating a Proactive Healthcare System
 
World Transformation: The Secret Agenda of Product Design
World Transformation: The Secret Agenda of Product DesignWorld Transformation: The Secret Agenda of Product Design
World Transformation: The Secret Agenda of Product Design
 
The Power of Now
The Power of NowThe Power of Now
The Power of Now
 
High Performance PWAs
High Performance PWAsHigh Performance PWAs
High Performance PWAs
 
Rise of the JAMstack
Rise of the JAMstackRise of the JAMstack
Rise of the JAMstack
 
From Closed to Open: A Journey of Self Discovery
From Closed to Open: A Journey of Self DiscoveryFrom Closed to Open: A Journey of Self Discovery
From Closed to Open: A Journey of Self Discovery
 
Projects Ain’t Nobody Got Time For
Projects Ain’t Nobody Got Time ForProjects Ain’t Nobody Got Time For
Projects Ain’t Nobody Got Time For
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Git hub for designers