SlideShare a Scribd company logo
Dumping the Bucket:
Making it Easy
Suggested Metaphors and Tactics
by Mysti Berry
Dumping the Bucket:
Making it Easier
Suggested Metaphors and Tactics
by Mysti Berry
Mysti is an expert technical writer.
She is not a Git expert.
She noticed how hard it is for writers,
who use myriad tools all the time, to
adapt to git--so many mysterious
mistakes!
It doesn’t have to as confusing as it
seems.
Today you’ll learn:
A way to think about git that helps
you avoid some problems.
A process that helps you avoid even
more problems.
The basic commands that you’ll use
all the time.
The difference between git and
GitHub.
Today you won’t learn:
•  How to read those bubble/arrow
diagrams
•  All the commands
•  Deep architectural secrets
Who created git?
Linus Torvalds in 2005, while
coding a kernel.
Source control, but
not for content...
Tip
Git has a lot of
documentation.
Many people ask
questions, so use Google
early and often when
working with git, to find a
source that speaks to
you.
But doc is distributed, too!
We want co-workers, customers, anyone to
safely give us updates!
At large companies, a hundred people
may need to access the same content.
Your mileage may vary.
Tip
Developers can
contribute more to your
content if you use a tool
and a process they
understand.
What’s good about git?
●  Fast and free and not bug-ridden
●  Not much typing or clicking to get stuff done
●  Easy to fix mistakes (no, really! It is! I’ll show you!)
●  With a few simple rules, you can get back to writing:
○  Check status often
○  Follow regular process
○  Use log & history (and google) to fix problems
Worth the learning curve?
Making It Easier
➔  1. Change your metaphor
➔  2. Do it the same way every time!
➔  3. Embrace your confusion
(Devs get confused too!)
1. Kick the bucket
➔  The bucket metaphor doesn’t
work with git
Source Control = Bucket
Most technical writers and content management
or source control systems use a bucket
metaphor--here’s your bucket of stuff!
●  Do what you want!
●  Only other tech writers touch your files.
●  Conflict resolutions are the exception!
Git Metaphor != Bucket
Git manages changes, not content.
●  Strangers touch your files!!!
●  Conflict resolution is common.
●  You don’t know what’s going on
unless you ask git
You need a many-headed hydra map!
Concepts
Repo: A collection of files and the record of
changes
Clone: Copy repository from remote server
Master: “Known good copy” git creates
Branches: Create branches to manage changes
Remote/local: Local is your stuff in your branch,
remote is where you push your stuff.
2. Always check
➔  Always check your current state
➔  Check history, log often
Suggestion: use git from the
command line for everything but
reviews until you really understand
it. Otherwise you may never
understand it.
Once you install git, look around…
git status: ALWAYS DO THIS FIRST!!!!!
git log: Always do this before doing something
fancy.
git fetch: update my branch with changes from
another branch, but don’t “bundle” them into
my set of changes
“Show me” commands
3. Confusion
➔  Embrace git’s inconsistencies
git checkout -b my-new-branch
vs.
git branch -d my-new-branch
Even experienced developers don’t do
the fancy stuff without looking at the doc.
Check it out!
➔  Let’s look at my repo
➔  Make an edit
➔  Push the changes up for review
➔  Merge our changes into master
Git pull: put all changes in my branch
git checkout <branchname>: Move “into” one of
my branches
git checkout –b <branchname>: Create a new
branch
git commit: Bundle up these changes and
prepare to…
git push: Push my commit(s) to another branch
git rebase: take commits from this branch and
another branch and sort them all out
Action commands
3. Try this
➔  Install git
➔  Make an edit
➔  Push the changes up for review
➔  The admin of the repo will merge
your changes (me!)
Install git and check
1.  Install git.
2.  Check the readme.txt for gotchas.
3.  Find your terminal window.
4.  Move to git directory.
5.  Type git --version
Follow These Instructions to fork my repo
http://kbroman.org/github_tutorial/pages/fork.html
My repo is git://github.com/MystiAnne/TechCampClass.git
(github.com/MystiAnne/TechCampCLass
I’ll Respond!
If you get stuck, email
mysti.berry@mac.com
If you send me a pull request, I’ll
answer it!
thank you!

More Related Content

What's hot

Meetup gitbook
Meetup gitbookMeetup gitbook
Meetup gitbook
Rebecca Peltz
 
Get Ur Git On: Introduction and getting started with Github
Get Ur Git On: Introduction and getting started with GithubGet Ur Git On: Introduction and getting started with Github
Get Ur Git On: Introduction and getting started with Github
Christine O'Connell
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
GhadiAlGhosh
 
Contributing to github is for everyone
Contributing to github is for everyoneContributing to github is for everyone
Contributing to github is for everyone
Matt Heusser
 
Git step by step
Git step by stepGit step by step
Git step by step
Mithun Ghose
 
Version Control with GitHub for Bioinformatics
Version Control with GitHub for BioinformaticsVersion Control with GitHub for Bioinformatics
Version Control with GitHub for Bioinformatics
Rayna Harris
 
Mongoid ate my homework
Mongoid ate my homeworkMongoid ate my homework
Mongoid ate my homework
slowjud
 
Softshake 2013 - Let's take this offline
Softshake 2013 - Let's take this offlineSoftshake 2013 - Let's take this offline
Softshake 2013 - Let's take this offline
Claire Reynaud
 
Git workshop
Git workshopGit workshop
Git workshop
Ray Toal
 
Introduction to git and gitgub
Introduction to git and gitgubIntroduction to git and gitgub
Introduction to git and gitgub
Mamun Rashid, CCDH
 
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
Dan Cundiff
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
Uri Goldstein
 
Prometheus the future
Prometheus   the futurePrometheus   the future
Prometheus the future
Goutham Veeramachaneni
 

What's hot (14)

Meetup gitbook
Meetup gitbookMeetup gitbook
Meetup gitbook
 
Get Ur Git On: Introduction and getting started with Github
Get Ur Git On: Introduction and getting started with GithubGet Ur Git On: Introduction and getting started with Github
Get Ur Git On: Introduction and getting started with Github
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
 
Contributing to github is for everyone
Contributing to github is for everyoneContributing to github is for everyone
Contributing to github is for everyone
 
Git step by step
Git step by stepGit step by step
Git step by step
 
Version Control with GitHub for Bioinformatics
Version Control with GitHub for BioinformaticsVersion Control with GitHub for Bioinformatics
Version Control with GitHub for Bioinformatics
 
Mongoid ate my homework
Mongoid ate my homeworkMongoid ate my homework
Mongoid ate my homework
 
Softshake 2013 - Let's take this offline
Softshake 2013 - Let's take this offlineSoftshake 2013 - Let's take this offline
Softshake 2013 - Let's take this offline
 
Git workshop
Git workshopGit workshop
Git workshop
 
Cheffing a department
Cheffing a departmentCheffing a department
Cheffing a department
 
Introduction to git and gitgub
Introduction to git and gitgubIntroduction to git and gitgub
Introduction to git and gitgub
 
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
 
Prometheus the future
Prometheus   the futurePrometheus   the future
Prometheus the future
 

Similar to Git for Writers: Dumping the Bucket Metaphor

Git Init (Introduction to Git)
Git Init (Introduction to Git)Git Init (Introduction to Git)
Git Init (Introduction to Git)
GDSC UofT Mississauga
 
Git_tutorial.pdf
Git_tutorial.pdfGit_tutorial.pdf
Git_tutorial.pdf
AliaaTarek5
 
Git Merge, Resets and Branches
Git Merge, Resets and BranchesGit Merge, Resets and Branches
Git Merge, Resets and Branches
Victor Pudelski
 
Git and Github slides.pdf
Git and Github slides.pdfGit and Github slides.pdf
Git and Github slides.pdf
Tilton2
 
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
RaghavendraVattikuti1
 
3 Git
3 Git3 Git
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git
聖文 鄭
 
Git basics : a beginner's guide
Git basics : a beginner's guideGit basics : a beginner's guide
Git basics : a beginner's guide
Digital Product School
 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
SawanBhattacharya
 
Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko - Introduction to Git - Start SLC 2015Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko
 
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
Kim Moir
 
Github
GithubGithub
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
git and github
git and githubgit and github
git and github
Darren Oakley
 
Git Makes Me Angry Inside
Git Makes Me Angry InsideGit Makes Me Angry Inside
Git Makes Me Angry Inside
Emma Jane Hogbin Westby
 
Git Things Done
Git Things DoneGit Things Done
Git Things Done
FITC
 
Using Git on the Command Line
Using Git on the Command LineUsing Git on the Command Line
Using Git on the Command Line
Brian Richards
 
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 GitRobert Lee-Cann
 

Similar to Git for Writers: Dumping the Bucket Metaphor (20)

Git Init (Introduction to Git)
Git Init (Introduction to Git)Git Init (Introduction to Git)
Git Init (Introduction to Git)
 
Git presentation
Git presentationGit presentation
Git presentation
 
Git_tutorial.pdf
Git_tutorial.pdfGit_tutorial.pdf
Git_tutorial.pdf
 
Git Merge, Resets and Branches
Git Merge, Resets and BranchesGit Merge, Resets and Branches
Git Merge, Resets and Branches
 
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
 
3 Git
3 Git3 Git
3 Git
 
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git
 
Git basics : a beginner's guide
Git basics : a beginner's guideGit basics : a beginner's guide
Git basics : a beginner's guide
 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
 
Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko - Introduction to Git - Start SLC 2015Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko - Introduction to Git - Start SLC 2015
 
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
 
Github
GithubGithub
Github
 
16 Git
16 Git16 Git
16 Git
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
 
git and github
git and githubgit and github
git and github
 
Git Makes Me Angry Inside
Git Makes Me Angry InsideGit Makes Me Angry Inside
Git Makes Me Angry Inside
 
Git Things Done
Git Things DoneGit Things Done
Git Things Done
 
Using Git on the Command Line
Using Git on the Command LineUsing Git on the Command Line
Using Git on the Command Line
 
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
 

More from Mysti Berry

Old dogs
Old dogsOld dogs
Old dogs
Mysti Berry
 
Using Linguistics for Better Dialog
Using Linguistics for Better DialogUsing Linguistics for Better Dialog
Using Linguistics for Better Dialog
Mysti Berry
 
Berry 10 years_of_dita
Berry 10 years_of_ditaBerry 10 years_of_dita
Berry 10 years_of_dita
Mysti Berry
 
Building Bridges Across an Expanding Universe
Building Bridges Across an Expanding UniverseBuilding Bridges Across an Expanding Universe
Building Bridges Across an Expanding Universe
Mysti Berry
 
Sample agenda for a Content Collaboration Council meeting
Sample agenda for a Content Collaboration Council meetingSample agenda for a Content Collaboration Council meeting
Sample agenda for a Content Collaboration Council meeting
Mysti Berry
 
Sample Mission Statement for a Content Collaboration Council.
Sample Mission Statement for a Content Collaboration Council.Sample Mission Statement for a Content Collaboration Council.
Sample Mission Statement for a Content Collaboration Council.
Mysti Berry
 
Herding Tigers: Helping Writers Let Go of Inline Links
Herding Tigers: Helping Writers Let Go of Inline LinksHerding Tigers: Helping Writers Let Go of Inline Links
Herding Tigers: Helping Writers Let Go of Inline Links
Mysti Berry
 

More from Mysti Berry (7)

Old dogs
Old dogsOld dogs
Old dogs
 
Using Linguistics for Better Dialog
Using Linguistics for Better DialogUsing Linguistics for Better Dialog
Using Linguistics for Better Dialog
 
Berry 10 years_of_dita
Berry 10 years_of_ditaBerry 10 years_of_dita
Berry 10 years_of_dita
 
Building Bridges Across an Expanding Universe
Building Bridges Across an Expanding UniverseBuilding Bridges Across an Expanding Universe
Building Bridges Across an Expanding Universe
 
Sample agenda for a Content Collaboration Council meeting
Sample agenda for a Content Collaboration Council meetingSample agenda for a Content Collaboration Council meeting
Sample agenda for a Content Collaboration Council meeting
 
Sample Mission Statement for a Content Collaboration Council.
Sample Mission Statement for a Content Collaboration Council.Sample Mission Statement for a Content Collaboration Council.
Sample Mission Statement for a Content Collaboration Council.
 
Herding Tigers: Helping Writers Let Go of Inline Links
Herding Tigers: Helping Writers Let Go of Inline LinksHerding Tigers: Helping Writers Let Go of Inline Links
Herding Tigers: Helping Writers Let Go of Inline Links
 

Recently uploaded

Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
Google
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
abdulrafaychaudhry
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 

Recently uploaded (20)

Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 

Git for Writers: Dumping the Bucket Metaphor

  • 1. Dumping the Bucket: Making it Easy Suggested Metaphors and Tactics by Mysti Berry
  • 2. Dumping the Bucket: Making it Easier Suggested Metaphors and Tactics by Mysti Berry
  • 3. Mysti is an expert technical writer. She is not a Git expert. She noticed how hard it is for writers, who use myriad tools all the time, to adapt to git--so many mysterious mistakes! It doesn’t have to as confusing as it seems.
  • 4. Today you’ll learn: A way to think about git that helps you avoid some problems. A process that helps you avoid even more problems. The basic commands that you’ll use all the time. The difference between git and GitHub.
  • 5. Today you won’t learn: •  How to read those bubble/arrow diagrams •  All the commands •  Deep architectural secrets
  • 6. Who created git? Linus Torvalds in 2005, while coding a kernel. Source control, but not for content... Tip Git has a lot of documentation. Many people ask questions, so use Google early and often when working with git, to find a source that speaks to you.
  • 7. But doc is distributed, too! We want co-workers, customers, anyone to safely give us updates! At large companies, a hundred people may need to access the same content. Your mileage may vary. Tip Developers can contribute more to your content if you use a tool and a process they understand.
  • 8. What’s good about git? ●  Fast and free and not bug-ridden ●  Not much typing or clicking to get stuff done ●  Easy to fix mistakes (no, really! It is! I’ll show you!) ●  With a few simple rules, you can get back to writing: ○  Check status often ○  Follow regular process ○  Use log & history (and google) to fix problems
  • 10. Making It Easier ➔  1. Change your metaphor ➔  2. Do it the same way every time! ➔  3. Embrace your confusion (Devs get confused too!)
  • 11. 1. Kick the bucket ➔  The bucket metaphor doesn’t work with git
  • 12. Source Control = Bucket Most technical writers and content management or source control systems use a bucket metaphor--here’s your bucket of stuff! ●  Do what you want! ●  Only other tech writers touch your files. ●  Conflict resolutions are the exception!
  • 13. Git Metaphor != Bucket Git manages changes, not content. ●  Strangers touch your files!!! ●  Conflict resolution is common. ●  You don’t know what’s going on unless you ask git You need a many-headed hydra map!
  • 14. Concepts Repo: A collection of files and the record of changes Clone: Copy repository from remote server Master: “Known good copy” git creates Branches: Create branches to manage changes Remote/local: Local is your stuff in your branch, remote is where you push your stuff.
  • 15. 2. Always check ➔  Always check your current state ➔  Check history, log often Suggestion: use git from the command line for everything but reviews until you really understand it. Otherwise you may never understand it. Once you install git, look around…
  • 16. git status: ALWAYS DO THIS FIRST!!!!! git log: Always do this before doing something fancy. git fetch: update my branch with changes from another branch, but don’t “bundle” them into my set of changes “Show me” commands
  • 17. 3. Confusion ➔  Embrace git’s inconsistencies git checkout -b my-new-branch vs. git branch -d my-new-branch Even experienced developers don’t do the fancy stuff without looking at the doc.
  • 18. Check it out! ➔  Let’s look at my repo ➔  Make an edit ➔  Push the changes up for review ➔  Merge our changes into master
  • 19.
  • 20.
  • 21. Git pull: put all changes in my branch git checkout <branchname>: Move “into” one of my branches git checkout –b <branchname>: Create a new branch git commit: Bundle up these changes and prepare to… git push: Push my commit(s) to another branch git rebase: take commits from this branch and another branch and sort them all out Action commands
  • 22. 3. Try this ➔  Install git ➔  Make an edit ➔  Push the changes up for review ➔  The admin of the repo will merge your changes (me!)
  • 23. Install git and check 1.  Install git. 2.  Check the readme.txt for gotchas. 3.  Find your terminal window. 4.  Move to git directory. 5.  Type git --version
  • 24. Follow These Instructions to fork my repo http://kbroman.org/github_tutorial/pages/fork.html My repo is git://github.com/MystiAnne/TechCampClass.git (github.com/MystiAnne/TechCampCLass
  • 25. I’ll Respond! If you get stuck, email mysti.berry@mac.com If you send me a pull request, I’ll answer it!