GitHub is the repository for the vast majority of today’s open-source software. And that is why many interviewers look at applicants’ public GitHub.com accounts to assess their interests, popularity, helpfulness, and consistency. To collaborate with developers, today’s testers need git and a GitHub account. Unfortunately, esoteric command lines often confuse those new to the tool. Join Wilson Mar as he provides advice on how to be immediately productive. He begins with a review of top projects testers need to know; the etiquette to starting projects and following people; pull requests; and raising issues. Wilson includes demonstrations on mastering git, with tricks to markup text that gets converted into web pages, adding graphics to markup, creating branches, and merging branches. Based on his work on several projects on GitHub, Wilson provides keys to understanding the logic of different deployment workflows and explains even the most confusing words and concepts.
1. 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/
2. 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.
3. 11
Git and GitHub
by @WilsonMar
at StarEast 2016
Skype: wilsonmar4
http://wilsonmar.github.io
5. 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
6. 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
7. 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
8. 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
18. 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