SlideShare a Scribd company logo
T18	
  
Special	
  Topics	
  
5/5/16	
  13:30	
  
Git	
  and	
  GitHub	
  for	
  Testers	
  
Presented	
  by:	
  
Wilson	
  Mar	
  
JetBloom	
  
Brought	
  to	
  you	
  by:	
  
350	
  Corporate	
  Way,	
  Suite	
  400,	
  Orange	
  Park,	
  FL	
  32073	
  	
  
888-­‐-­‐-­‐268-­‐-­‐-­‐8770	
  ·∙·∙	
  904-­‐-­‐-­‐278-­‐-­‐-­‐0524	
  -­‐	
  info@techwell.com	
  -­‐	
  http://www.stareast.techwell.com/	
  
Wilson	
  Mar	
  
JetBloom	
  
Wilson	
  Mar	
  has	
  been	
  building	
  and	
  bringing	
  enterprise	
  applications	
  to	
  market	
  on	
  
major	
  platforms from	
  mobile	
  to	
  server	
  clouds as	
  an	
  architect,	
  developer,	
  
performance	
  tester,	
  and	
  manager.	
  His	
  website	
  wilsonmar.com	
  provides	
  concise,	
  
in-­‐depth	
  advice	
  on	
  leading	
  technologies,	
  especially	
  on	
  LoadRunner	
  and	
  
performance	
  engineering.	
  
11
Git and GitHub
by @WilsonMar
at StarEast 2016
Skype: wilsonmar4
http://wilsonmar.github.io
Javatoolspopularity
http://zeroturnaround.com/rebellabs/java-tools-and-technologies-landscape-for-2014/
Introductoryactivities
1.  Decide on GitHub
2.  Enter the GitHub Ecosystem (Know famous repos)
3.  Code Git-flavored markup on GitHub
4.  Make your own website
5.  Install git command line client
6.  Configure Git environment (SSH)
7.  Setup git GUI client
8.  Analyze and fork a repo on GitHub.com
Dailytasks
9.  Configure your repo and workflow on GitHub
10.  Configure a repo from GitHub
11.  Analyze local repository
12.  Fetch remote changes into local repo
13.  Make changes in a local repo
14.  Remove files
15.  Stash & un-stash tracked files temporarily
16.  Ignore files in repo and globally
17.  Commit changes and amend
18.  Test locally and back-out
Scary-ishtasks
19.  Resolve a conflicting merge condition
20.  Identify differences
21.  Install and try different diff/merge tools
22.  File push request
23.  Clean-up locally
24.  Process Github repos automatically
Local Git repo.
history
Downloads folder
GitandGitHubFileHandling
IDE/app
repo-master.zip
folder
file
app default external copies
folder
file
manual
copy
zip/
copy
Fork
Edit
compare (diff)
GitHub.com
repo
@Copyright Wilson Mar 2015.
All rights reserved.
your
GitHub
.com or
hosted
repo
upstream
Download
Finder or
Windows
Explorer
folder
file
Git client
unzip
local
machine
GitHubEnterprise
https://enterprise.github.com/home
ª Launched 2011 for private repos
ª $250/user/year (less under SAP license)
ª 24/7 support
ª On-premises OVF under VMware
ª 
ª LDAP/AD integration
ª Code review features
GitLabEnterprisevs.
GitHubEnterprise
https://about.gitlab.com
ª _
ª $149/user/year (unlimited private repos)
ª 24/7 support
ª On-premises on metal (not VMs), clustered
ª Binary files with GitLab Annex
ª LDAP/AD integration
ª Code review with approvals
99
github.com
acct/repo
iOS
browser
local
Copyright 2016 by Wilson Mar
All rights reserved.
markdown
& code
git
acct.github.io
Python
editor
wiki
_site
HTML+ HTML+
browser
/x
grip
render
pdf
kindle
browserdillenger.iostackedit.io
CI/CD
markdown
ghw
API
HTML+
mobi
ePub
AZW
Ruby
Jekyll+
gitbook.io,
leanpub.com,
EC2, etc.
Users:
raw
Haroopad,
mou.io, etc.
Dropbox
CDN
offline
API
HTML+
HTML+
acct/
acct.github.iogh-pages
br.markdown markdown
FTP
Jekyll+
Kramdown
Liquid
GithubFlavoredHeadings&
LinksMarkup
# Heading 1
* [Internal](Heading 1.1)
* <a href=“#Heading1.1”>Internal</a>
<a name=“Heading1.1”>
## Heading 1.1</a>
## Heading 1.2 ###
GithubFlavoredListMarkup
0. List 1
```
text
```
0. List 2
* Item 1
* Item 2
•  ``` denote coding
(HTML)
•  3 spaces before ```
to indent
•  ?
GithubFlavoredTable
Markup
| header1 | numbers |
| ------- | ------: |
| text 1 | 12.12 |
•  Colon right-aligns
Gitcloneoptions(SSH)
ssh:user@server:project.git
http://server/project.git
git@github.com:user/project.git
git://server/project.git via port 9418
file://myrepos/project
/myrepos/project
via port 22
via port 80
via hard link only
git config
git clone
git clone
git clone
git clone
git clone
git clone
ssh-keygen –t rsa –C“me@corp.com”
passphrase
~/.ssh/
origin
git client
via port 22
your
github
.com or
hosted
repo
id_rsa
id_rsa.pub
Gitworkflow(2010)
http://nvie.com/posts/a-successful-git-branching-model/
support
Runningalong-side
GitHub.com
develop
local git
ea2
clone
c4b
a87
82e
645
c14
3
feature develop
ea2
c4b
a87
82e
645
c14
1
3
fetch
4
diff fetch
5
push
6
5
6
merge
-b branch
2
6
release master
(prod)(staging)(remote)(local)
conflict!
resolved
no conflict
ea2
c4b
a87
82e
645
c14
@Copyright
Wilson Mar 2015.
All rights reserved.
push
checkout
--branch
diff
2rebased
3
AgileStoryBranchPattern
1.  Pull to update your local master
2.  Checkout a feature branch (JIRA)
3.  Do work in your feature branch, committing early and
often
4.  Rebase frequently to incorporate upstream changes
5.  Interactive rebase (squash) your commits
6.  Merge your changes with master
7.  Push your changes upstream
http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html
CheatSheet
http://zeroturnaround.com/rebellabs/git-commands-and-best-practices-cheat-sheet/
Gitbasicrepository
commands
git add
git fetch
your
github
.com or
hosted
repo
git pull
staging
/ index
/ cache
Working
directory
tree
git commit
git push
local git
repo.
git merge
git diff
Gitcommandsandstates
git add
git commit
git push
git branch
git pull
local git
repo.
git checkout branch
commit
git revert
git clone
git init
staging
/ index
/ cache
-- amend
git status -s
.gitignore
git log
git fetch
git remote -v
git stash
git stash pop
Working
directory
tree
stack
git stash list
git stash apply
$ mkdir
$ rm -rf
git tag
git rebase -i
.git folder
git merge
git reflog
git diff
git mergetool
@Copyright Wilson Mar 2015.
All rights reserved.
staged?modified?
deleted?
HEAD
$ touch git clean
$ ls -al
Git client
git config
github
repo
your
github
.com or
hosted
repo
master
.gitattributesedit
$ echo
Fork
Edit
request
Pull
git stash drop
origin
upstream
$ cd
git reset
committed?
pushed?
dev
git shortlog
git show
git remote add
git difftool
tracked?
Personalworkflow
1.  clone
2.  pull to update master (keep up)
3.  checkout (feature) branch, story, defect
4.  edit little pieces (test code first?)
5.  unit test
6.  add to local stage
7.  commit
8.  merge local master
9.  rebase squash (combine commits)
10. (automated) end-to-end test
11. checkout master
12. merge (push) feature upstream
integrate
separate
modify
Lifecycle
http://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#Removing-Files

More Related Content

PDF
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
PDF
How we scaled git lab for a 30k employee company
PDF
L’enjeu du mobile pour le développeur Web, et comment Mozilla va vous aider
PPTX
A painless self-hosted Git service: Gitea
ODP
Has it really been 10 years?
PDF
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
PDF
Mobile Development with Ionic, React Native, and JHipster - AllTheTalks 2020
PDF
Front End Development for Backend Developers - GIDS 2019
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
How we scaled git lab for a 30k employee company
L’enjeu du mobile pour le développeur Web, et comment Mozilla va vous aider
A painless self-hosted Git service: Gitea
Has it really been 10 years?
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
Mobile Development with Ionic, React Native, and JHipster - AllTheTalks 2020
Front End Development for Backend Developers - GIDS 2019

What's hot (16)

PPTX
Intro to Git Devnet-1080 Cisco Live 2018
PPTX
GitFlow, SourceTree and GitLab
PDF
手機自動化測試和持續整合
PPTX
Introduction to Gitea with Drone
PDF
Gitlab Training with GIT and SourceTree
PDF
Git best practices workshop
PDF
Self Hosted Web-based GIT Repository Managers
PDF
沒有 GUI 的 Git
PDF
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
PDF
Version control with git
PPT
Git 101 - Crash Course in Version Control using Git
PDF
Git and github fundamental
PDF
Git and Github workshop
PDF
Banquet 22
Intro to Git Devnet-1080 Cisco Live 2018
GitFlow, SourceTree and GitLab
手機自動化測試和持續整合
Introduction to Gitea with Drone
Gitlab Training with GIT and SourceTree
Git best practices workshop
Self Hosted Web-based GIT Repository Managers
沒有 GUI 的 Git
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
Version control with git
Git 101 - Crash Course in Version Control using Git
Git and github fundamental
Git and Github workshop
Banquet 22
Ad

Viewers also liked (7)

PPTX
Git для тестировщиков
PPTX
Selenium: начало работы
PDF
Основы Git
PPTX
Docker + Selenium Webdriver в рамках Continuous Integration
PPT
Selenium
PPTX
XPath локаторы в Selenium WebDriver
PPTX
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Git для тестировщиков
Selenium: начало работы
Основы Git
Docker + Selenium Webdriver в рамках Continuous Integration
Selenium
XPath локаторы в Selenium WebDriver
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Ad

Similar to Git and GitHub for Testers (20)

ODP
Migrating to Git: Rethinking the Commit
PDF
Alloy: Deep Dive, Below The Surface, and Other Nautical Metaphors
PDF
Gitlab for PHP developers (Brisbane PHP meetup, 2019-Jan-29)
PPTX
Get the Exact Identity Solution You Need - In the Cloud - Overview
PDF
HITCON Defense Summit 2019 - 從 SAST 談持續式資安測試
PDF
Front End Development for Back End Java Developers - South West Java 2019
PPTX
FIWARE Wednesday Webinars - How to Debug IoT Agents
PDF
Serverless Tour of Heroes
PPTX
CISOA Conference 2020 Banner 9 Development
PPTX
Ultimate Git Workflow - Seoul 2015
PDF
Industrial IoT bootcamp
PDF
Front End Development for Back End Java Developers - NYJavaSIG 2019
PDF
Git/Gerrit with TeamForge
PDF
Http Services in Rust on Containers
PDF
Distributing UI Libraries: in a post Web-Component world
PDF
A little bit about code injection in WebApplication Frameworks (CVE-2018-1466...
PDF
Scaling mobile testing on AWS: Emulators all the way down
PDF
Kandroid for nhn_deview_20131013_v5_final
PDF
ITCamp 2013 - Alessandro Pilotti - Git crash course for Visual Studio devs
PDF
HTTP 2.0 & Java: Current Status", Part 1, jDays 2015 Speaker: "Simone Bordet
Migrating to Git: Rethinking the Commit
Alloy: Deep Dive, Below The Surface, and Other Nautical Metaphors
Gitlab for PHP developers (Brisbane PHP meetup, 2019-Jan-29)
Get the Exact Identity Solution You Need - In the Cloud - Overview
HITCON Defense Summit 2019 - 從 SAST 談持續式資安測試
Front End Development for Back End Java Developers - South West Java 2019
FIWARE Wednesday Webinars - How to Debug IoT Agents
Serverless Tour of Heroes
CISOA Conference 2020 Banner 9 Development
Ultimate Git Workflow - Seoul 2015
Industrial IoT bootcamp
Front End Development for Back End Java Developers - NYJavaSIG 2019
Git/Gerrit with TeamForge
Http Services in Rust on Containers
Distributing UI Libraries: in a post Web-Component world
A little bit about code injection in WebApplication Frameworks (CVE-2018-1466...
Scaling mobile testing on AWS: Emulators all the way down
Kandroid for nhn_deview_20131013_v5_final
ITCamp 2013 - Alessandro Pilotti - Git crash course for Visual Studio devs
HTTP 2.0 & Java: Current Status", Part 1, jDays 2015 Speaker: "Simone Bordet

More from Josiah Renaudin (20)

PDF
Solve Everyday IT Problems with DevOps
PDF
End-to-End Quality Approach: 14 Levels of Testing
PDF
Product Management: The Innovation Glue for the Lean Enterprise
PDF
Slay the Dragons of Agile Measurement
PDF
Blending Product Discovery and Product Delivery
PDF
Determining Business Value in Agile Development
PDF
Three Things You MUST Know to Transform into an Agile Enterprise
PDF
Internet of Things and the Wisdom of Mobile
PDF
How to Do Kick-Ass Software Development
PDF
The Power of an Agile Mindset
PDF
DevOps and the Culture of High-Performing Software Organizations
PDF
Uncover Untold Stories in Your Data: A Deep Dive on Data Profiling
PDF
Build a Quality Engineering and Automation Framework
PDF
Don’t Be Another Statistic! Develop a Long-Term Test Automation Strategy
PDF
Testing Lessons from the Land of Make Believe
PDF
Finding Success with Test Process Improvement
PDF
Stay Ahead of the Mobile and Web Testing Maturity Curve
PDF
The Selenium Grid: Run Multiple Automated Tests in Parallel
PDF
Testing at Startup Companies: What, When, Where, and How
PDF
Boost Test Coverage with Automated Visual Testing
Solve Everyday IT Problems with DevOps
End-to-End Quality Approach: 14 Levels of Testing
Product Management: The Innovation Glue for the Lean Enterprise
Slay the Dragons of Agile Measurement
Blending Product Discovery and Product Delivery
Determining Business Value in Agile Development
Three Things You MUST Know to Transform into an Agile Enterprise
Internet of Things and the Wisdom of Mobile
How to Do Kick-Ass Software Development
The Power of an Agile Mindset
DevOps and the Culture of High-Performing Software Organizations
Uncover Untold Stories in Your Data: A Deep Dive on Data Profiling
Build a Quality Engineering and Automation Framework
Don’t Be Another Statistic! Develop a Long-Term Test Automation Strategy
Testing Lessons from the Land of Make Believe
Finding Success with Test Process Improvement
Stay Ahead of the Mobile and Web Testing Maturity Curve
The Selenium Grid: Run Multiple Automated Tests in Parallel
Testing at Startup Companies: What, When, Where, and How
Boost Test Coverage with Automated Visual Testing

Recently uploaded (20)

PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
top salesforce developer skills in 2025.pdf
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Digital Strategies for Manufacturing Companies
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
assetexplorer- product-overview - presentation
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
medical staffing services at VALiNTRY
PDF
Nekopoi APK 2025 free lastest update
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
Reimagine Home Health with the Power of Agentic AI​
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
top salesforce developer skills in 2025.pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
CHAPTER 2 - PM Management and IT Context
Digital Strategies for Manufacturing Companies
Why Generative AI is the Future of Content, Code & Creativity?
assetexplorer- product-overview - presentation
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Odoo Companies in India – Driving Business Transformation.pdf
Operating system designcfffgfgggggggvggggggggg
medical staffing services at VALiNTRY
Nekopoi APK 2025 free lastest update
Navsoft: AI-Powered Business Solutions & Custom Software Development

Git and GitHub for Testers