Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
4d4cd8a
Merge branch 'master' into gh-pages
joeyklee Mar 8, 2016
1d826bc
Merge branch 'master' into gh-pages
joeyklee Mar 8, 2016
2bd6e4e
added guides to link
joeyklee Mar 8, 2016
6a07f3c
updated gitignore
joeyklee Mar 8, 2016
a921c7e
Changed date
KirstieJane Jul 4, 2016
fda90c8
Changed date
KirstieJane Jul 4, 2016
8fd27f1
Update README.md
KirstieJane Jul 4, 2016
858bf8b
Update README.md
KirstieJane Jul 4, 2016
d14b7bd
Update humans.md
KirstieJane Jul 4, 2016
730f010
Update humans.md
KirstieJane Jul 4, 2016
afeb7fe
updated humans.md
KirstieJane Jul 4, 2016
4f58e89
delete humans.md
KirstieJane Jul 4, 2016
6debef0
added humans.md
KirstieJane Jul 4, 2016
634950c
Update humans.md
KirstieJane Jul 4, 2016
71caeaf
sync-ed README.md
KirstieJane Jul 4, 2016
a204eee
updated index and README.md
KirstieJane Jul 4, 2016
26f7cbb
updated index.html
KirstieJane Jul 4, 2016
a20cd89
kept humans.md up to date
KirstieJane Jul 4, 2016
4acd408
Update humans.md
markdunning Jul 5, 2016
54e3eaf
Merge pull request #1 from markdunning/patch-1
KirstieJane Jul 5, 2016
519e10f
Added some resources
KirstieJane Jul 15, 2016
cf6ba3b
keeping gh-pages up to date with master
KirstieJane Jul 15, 2016
221bbb8
add changes to readme file
KirstieJane Jul 15, 2016
24a6179
Merge pull request #2 from KirstieJane/master
KirstieJane Jul 15, 2016
6f9fd51
Added in link to resources in nav bar
KirstieJane Jul 15, 2016
9163bed
Fixed typooo
KirstieJane Jul 15, 2016
c5bef78
Included link so resources appears in navbar!
KirstieJane Jul 15, 2016
a19184c
Trying to update the formatting
KirstieJane Jul 15, 2016
e4b10f1
Bit o reformatting
KirstieJane Jul 15, 2016
e107622
Typoooo
KirstieJane Jul 15, 2016
ab567b5
Not sure if this fixes the layout
KirstieJane Jul 15, 2016
67d5da8
keeping masters in sync with gh-pages
KirstieJane Jul 15, 2016
f5b30ef
Updated schedule
KirstieJane Jul 18, 2016
1e0d702
Update schedule.md
KirstieJane Jul 18, 2016
b41e3f8
Update schedule.md
KirstieJane Jul 18, 2016
85cc7f5
Added in lines for participants
KirstieJane Jul 18, 2016
cd957f4
added bullet points
KirstieJane Jul 18, 2016
79697fb
added bullet points
KirstieJane Jul 18, 2016
6415a09
added sample participants
KirstieJane Jul 18, 2016
23f1a59
keeping master in sync with gh-pages
KirstieJane Jul 18, 2016
eb2f581
updated first exercise
KirstieJane Jul 18, 2016
f0127fe
change PNG to png
KirstieJane Jul 18, 2016
9911eb4
Stupid step to rename on windows
KirstieJane Jul 18, 2016
942f659
PNG to png
KirstieJane Jul 18, 2016
94272a1
updated first PR exercise
KirstieJane Jul 18, 2016
6e1eaf5
keeping master update with gh-pages - updating slides
KirstieJane Jul 18, 2016
203da9e
keep master updated with gh-pages for exercises
KirstieJane Jul 18, 2016
b70639c
updated css so bullet points are in line
KirstieJane Jul 18, 2016
1b1ec7a
keeping master up to date with gh-pages
KirstieJane Jul 18, 2016
abf0ad1
added markdown version of exercise
KirstieJane Jul 18, 2016
d6ca224
keeping gh-pages up to date with master
KirstieJane Jul 18, 2016
2322961
added my-first-repo exercise
KirstieJane Jul 21, 2016
c697194
added working locally exercise
KirstieJane Jul 21, 2016
bfed6d6
added exercises from gh-pages
KirstieJane Jul 21, 2016
f326141
Merge remote-tracking branch 'refs/remotes/origin/gh-pages'
KirstieJane Jul 21, 2016
8bf3f2f
formatted working locally exercise
KirstieJane Jul 21, 2016
186de0d
formatted working locally exercise
KirstieJane Jul 21, 2016
fa614fb
Revert "formatted working locally exercise"
KirstieJane Jul 21, 2016
7d35afe
a few more formatting changes to working locally exercise
KirstieJane Jul 21, 2016
866c338
update from master
KirstieJane Jul 21, 2016
6b1cef8
added exercises to home pages
KirstieJane Jul 21, 2016
6982f04
Merge remote-tracking branch 'refs/remotes/origin/gh-pages'
KirstieJane Jul 21, 2016
20d7371
Update humans.md (#4)
pajanne Jul 21, 2016
eb02ebb
Fix typo (#5)
pajanne Jul 22, 2016
d68c5b4
Welcome presentation was in the schedule twice!
KirstieJane Jul 22, 2016
3016761
Delete planning.md
KirstieJane Jul 22, 2016
af43bed
updated schedule (#6)
KirstieJane Jul 22, 2016
a5e292a
update from gh-pages
KirstieJane Jul 22, 2016
9fb6007
Added my name
alexpcunningham Jul 22, 2016
68c7647
Update humans.md
Jul 22, 2016
4471c47
Added Veronika to today's participants
siskavera Jul 22, 2016
2b8ad39
Update humans.md
mjthreesixfive Jul 22, 2016
6ff58a6
Added my name to humans.md as part of exercise 2 (#7)
smithcg02 Jul 22, 2016
22fcb44
Adding my name to collaborator file
kamalfartiyal84 Jul 22, 2016
233472b
added myself
nagyadavid Jul 22, 2016
769c480
Update humans.md
alexanderbates Jul 22, 2016
86e76c3
Update humans.md
Jul 22, 2016
e046545
changing here
anicam Jul 22, 2016
423c72b
Change in list of names (#15)
RafaelGafoor Jul 22, 2016
a1a2512
Added details to humans.md
vyom20 Jul 22, 2016
52d826f
Merge pull request #1 from vyom20/added_details
vyom20 Jul 22, 2016
ea18c88
Update humans.md (#10)
JuneEvening Jul 22, 2016
c8e8de7
Updated_humans
kamalfartiyal84 Jul 22, 2016
f8b2f42
Update humans.md (#18)
cuixy13 Jul 22, 2016
1ab75f5
Update humans.md
kamalfartiyal84 Jul 22, 2016
56618b8
Update humans.md
siskavera Jul 22, 2016
5bfb717
added my name to humans.md on a different line
dven42 Jul 22, 2016
a77bcf8
Update humans.md
RafaelGafoor Jul 22, 2016
fa40da7
Corrected parenthesis issue
nagyadavid Jul 22, 2016
15a3279
Update humans.md
jbsquared42 Jul 22, 2016
77138bd
Update humans.md
Jul 22, 2016
dcfbe5a
Update humans.md
yaseen-ladak Jul 22, 2016
72fab17
Update humans.md (#30)
DrWilliamsSteven Jul 22, 2016
6c2ecfd
Update humans.md (#31)
guoyida Jul 22, 2016
32dcd0c
manually updated
KirstieJane Jul 22, 2016
2c37ca7
Merge branch 'anicam-master'
KirstieJane Jul 22, 2016
ac70b9c
manual update
KirstieJane Jul 22, 2016
a164865
Merge branch 'dmemon-master'
KirstieJane Jul 22, 2016
131c70e
Update with secret name (#28)
KirstieSecret Jul 22, 2016
4d32347
Deleted Ters 1
yaseen-ladak Jul 22, 2016
83f22c2
Add new name
vansure Jul 22, 2016
d4d9914
Update humans.md
Jul 22, 2016
119de53
Update humans.md
Jul 22, 2016
c653c69
update
KirstieJane Jul 22, 2016
2caf072
Merge branch 'master' of https://github.com/KirstieJane/friendly-gith…
KirstieJane Jul 22, 2016
e979861
updated manually
KirstieJane Jul 22, 2016
1020e4e
Merge branch 'apc40-master'
KirstieJane Jul 22, 2016
e212021
updated manually
KirstieJane Jul 22, 2016
bec8e7d
Merge branch 'vansure-master'
KirstieJane Jul 22, 2016
de5cea9
upated manually
KirstieJane Jul 22, 2016
4166e01
Merge branch 'siskavera-master'
KirstieJane Jul 22, 2016
c10a5b2
updated manually
KirstieJane Jul 22, 2016
55c956f
Merge branch 'mjthreesixfive-master'
KirstieJane Jul 22, 2016
a62872f
update manually
KirstieJane Jul 22, 2016
0b4ddb6
Merge branch 'nagyadavid-master'
KirstieJane Jul 22, 2016
268eba2
update manually
KirstieJane Jul 22, 2016
40885bc
Merge branch 'mchiapello-master'
KirstieJane Jul 22, 2016
356cdb0
update manually
KirstieJane Jul 22, 2016
f3fc687
Merge branch 'alexanderbates-master'
KirstieJane Jul 22, 2016
ca0be9e
update manually
KirstieJane Jul 22, 2016
638be63
Merge branch 'jbsquared42-master'
KirstieJane Jul 22, 2016
0ff3ca7
updated manually
KirstieJane Jul 22, 2016
ffc0c2a
Merge branch 'yaseen-ladak-master'
KirstieJane Jul 22, 2016
495d624
Fabio Puddu (#20)
fabiopuddu Jul 22, 2016
be442be
update manually
KirstieJane Jul 22, 2016
f95d0bf
Merge branch 'vyom20-master'
KirstieJane Jul 22, 2016
8bded0a
Merge branch 'master' of https://github.com/KirstieJane/friendly-gith…
KirstieJane Jul 22, 2016
f53ac24
Added Andrew's name to line 32 (#22)
monoke Jul 22, 2016
cebe181
Added self to humans.md (#23)
Jul 22, 2016
8d0f1f8
updated manually
KirstieJane Jul 22, 2016
c473d75
Merge branch 'RafaelGafoor-patch-2'
KirstieJane Jul 22, 2016
c6b5b76
Merge branch 'master' of https://github.com/KirstieJane/friendly-gith…
KirstieJane Jul 22, 2016
1b115ba
updated manually
KirstieJane Jul 22, 2016
958c5da
Merge branch 'kamalfartiyal84-master'
KirstieJane Jul 22, 2016
6a1f3f2
update master
KirstieJane Jul 22, 2016
bbe6d38
Merge branch 'delfinut-master'
KirstieJane Jul 22, 2016
107b610
update master
KirstieJane Jul 22, 2016
de94406
deleted secret kirstie
KirstieJane Jul 22, 2016
c576e1d
fixed a couple of typos
KirstieJane Jul 22, 2016
1e149f8
more typos
KirstieJane Jul 22, 2016
744f07e
Here are the notes taken at the end of the workshop for next time. (#36)
pajanne Aug 1, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.zip
*.zip
private/*
35 changes: 19 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
❤️

***
We have a living [Etherpad](https://public.etherpad-mozilla.org/p/2016-02-08-friendly-github-intro) for the workshop here - Github Workshop, March 8th, 2016.
We have a living [Etherpad](https://public.etherpad-mozilla.org/p/2016-07-22-friendly-github-intro) for the workshop on July 22nd, 2016.
***

# A Friendly Github Introduction
This is a friendly introduction to making open, version-controlled, and collaborative projects using Github.

You are invited to fork this repo and use our materials-- please let us know what you do with them and how it goes!
# Beginners guide to version control with git
This is a beginner friendly introduction to making open, version-controlled, and collaborative projects using git and GitHub.

## About

This is a friendly introduction to Github – a free and open source platform that can help you build projects that are collaborative, well documented, and version-controlled. In this workshop we will introduce you to the Github ecosystem and help you get you comfortable navigating basic Github workflows. We will make sure that you leave the workshop aware of the best practices for developing projects on Github (e.g. writing a good “readme” or posting and labeling issues) and an understanding of how Github can help make your projects more readable and accessible. This workshop is developed for anyone looking for a solution to making projects – whether it be your research on arctic glaciers, the materials for an undergraduate course, your PHD thesis, or even a cookbook – more manageable. This workshop is geared towards all skill levels, but first-time and novice users are encouraged and prioritized.
**Description**: Version control is the management of changes to documents, computer programs, and other collections of information. Changes are usually identified by a number named the "revision number". Each revision is associated with a timestamp and the person making the change. Revisions can be compared, restored, and with some types of files, merged.

Github is a free and open source platform that can help you build projects that are collaborative, well documented, and version-controlled. In this workshop we will introduce you to the GitHub ecosystem and help you get you comfortable navigating basic GitHub workflows. We will make sure that you leave the workshop aware of the best practices for developing projects on GitHub (e.g. writing a good “readme” or posting and labeling issues) and an understanding of how GitHub can help make your projects more readable and accessible.

This workshop is developed for anyone looking for a solution to making projects – whether it be your research on arctic glaciers, the materials for an undergraduate course, your PHD thesis, or even a cookbook – more manageable. You don't have to share your work with others or collaborate with anyone, although you'll learn how this can be achieved with ease.

This workshop is geared towards all skill levels, but first-time and novice users are encouraged and prioritised.

## Learning Objectives & Takeaways

At the end of the workshop, we hope you will feel acquainted and/or comfortable with:

* Github as:
* social platform - collaboration, coordination, and contributing
* Social platform - collaboration, coordination, and contributing
* Time machine - track project and go back
* documentation & sharing platform
* project development platform
* Documentation & sharing platform
* Project development platform
* Basic Github Workflows:
* working individually with commits, issues, branching, and merging
* working collaboratively with issues, forking & pull requests


* Working individually with commits, issues, branching, and merging using git
* Working collaboratively with issues, forking & pull requests

## Why are we teaching GitHub?

Git/GitHub can enable projects of any size (from individuals up to organizations and companies) to develop in a way that is well managed, readable, and many cases, accessible and open source. GitHub is allowing professors to share their course materials online, scientists to share their analyses and data, startups to build new technologies, and governments to share data - it is enhancing our ability to do work, better.

At the Mozilla Science Lab, we use GitHub as a platform to share knowledge, build communities, and make science as open and accessible as possible. We hope you will use GitHub as well to make better projects.

###What is "open" research?
Whether you're studying the human genome, black holes, deep sea ecology, medieval music, or alternative energy sources, research is a practice and process of learning, and creating knowledge. Researchers always build on (or transform) an existing understanding of the world. **A researcher working open shares insights or discoveries freely, makes her data available on the web, or makes the details of a new experimental technique or tool public so others can use and reuse it. By working open, she empowers fellow researchers and furthers our collective knowledge... knowledge that can be used to solve problems, save lives, and inspire and amaze us all.** The more data, knowledge, methods, tools and skills made widely and openly available to all, the better.
### What is "open" research?

Whether you're studying the human genome, black holes, deep sea ecology, medieval music, or alternative energy sources, research is a practice and process of learning, and creating knowledge. Researchers always build on (or transform) an existing understanding of the world. **A researcher working open shares insights or discoveries freely, makes her data available on the web, or makes the details of a new experimental technique or tool public so others can use and reuse it. By working open, she empowers fellow researchers and furthers our collective knowledge... knowledge that can be used to solve problems, save lives, and inspire and amaze us all.** The more data, knowledge, methods, tools and skills made widely and openly available to all, the better.

###Oh, by the way, what's Mozilla Science Lab??
### What's Mozilla Science Lab??
At [Mozilla Science Lab](https://mozillascience.org/) we help scientists and researchers (anyone from students to established researchers to citizen scientists) to work openly and do better research, more research, and make that research more useful by sharing it widely.

We provide various types of trainings (such as this Workshop), learning materials and formats (such as [Mozilla Study Groups](http://mozillascience.github.io/studyGroupHandbook/)), platforms for sharing and showcasing open Science projects (such as [MSL Collaborate](https://mozillascience.org/collaborate)), and support for leaders in open science (through the [Mozilla Fellows for Science](https://mozillascience.org/fellows).
Expand Down
2 changes: 2 additions & 0 deletions assets/css/style-dev.less
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ p, li {

ul, ol {
margin: 0 0 30px 0;
margin-left : 30px;

li {
margin-bottom: 6px;
Expand All @@ -78,6 +79,7 @@ ul {
li {
list-style-type: none;
position: relative;
margin-left : 30px;

&:before {
content: ".";
Expand Down
3 changes: 2 additions & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ li {
ul,
ol {
margin: 0 0 30px 0;
margin-left : 30px;
}
ul li,
ol li {
Expand Down Expand Up @@ -431,4 +432,4 @@ article pre{
color:black;
padding: 10px;
width:100%;
}
}
Binary file added assets/images-slides/my-first-pr-find-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-fork1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-fork2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-humans-edit.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-humans1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-humans2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-login1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-login2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-new-pr1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-new-pr2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images-slides/my-first-pr-wrong-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
248 changes: 248 additions & 0 deletions exercises/my-first-pullrequest/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
<!DOCTYPE html>
<html>

<head>
<title>Exercise: My first pull request</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Fira+Sans:400,400italic,500,500italic,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../assets/css/style.css">
<link rel="icon" type="image/ico" href="https://mozillascience.org/img/favicon.ico">
<script src="https://code.jquery.com/jquery-2.1.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../assets/javascript/script.js" type="text/javascript" charset="utf-8"></script>
</head>

<body>
<aside>
<div class="image">
<img src="../../assets/images/science-fox.svg">
</div>
<nav>
<a class="selected" href="#introduction">Introduction</a>
<a href="#step-by-step">Step-by-step</a>
<a href="#stretch-goal">Stretch goal</a>
<a href="#glossary">Glossary</a>
</nav>
</aside>
<article>
<div class="logo">
<a href="https://mozillascience.org" title="Mozilla Science Lab">
<img src="../../assets/images/science-lab-logo.svg" />
</a>
</div>
<h1>My first pull request</h1>
<div class="meta-information">
<p class="summary">
In this exercise we will add your GitHub username to the workshop repository using a pull request.</p>
<div class="details">
<time>15 to 30 minutes</time>
<p class="difficulty">Beginner - Intermediate</p>
</div>
</div>
<section class="presentation-details">
<section>
<h4>Format</h4>
<p>
This is designed as an in-person, facilitated workshop with pairs of learners working together, or individually.
</p>
</section>
<section>
<h4>Target Audience</h4>
<p>
People new to Git/GitHub looking for some practice with the workflow.
</p>
</section>
<section>
<h4>Materials</h4>
<ul>
<li>An Internet connection to access the GitHub site</li>
</ul>
</section>
</section>
<h2 id="introduction">Introduction</h2>

<p>
GitHub is a web-based interface for version control, a way of keeping track of changes made to a collection of working documents. GitHub provides a structure and space for communicating about collaborative work on open projects.
</p>
<p>
This exercise walks you through adding your very first contribution to an open source collaborative project using Git/Github through the GitHub web interface.
</p>

<h3>The Brief</h3>

<p>
We want to know who's taking part in the workshop, so please add your name to the <a href=https://github.com/KirstieJane/friendly-github-intro/blob/master/humans.md>humans.md</a> file in the <a href=https://github.com/KirstieJane/friendly-github-intro/>friendly-github-intro</a> workshop repository.
</p>
<p>
You'll have to <strong>fork the repo</strong>, make a change to the <strong>humans.md</strong> file and <strong>commit</strong> it to your fork, and then make a <strong>pull request</strong> to ask the workshop facilitator to merge the edit.
</p>
<p>
If you have time, <strong>make an issue</strong> in your own repository suggesting a change that someone else could make and add a link to that issue to the <a href=https://github.com/KirstieJane/friendly-github-intro/issues/3>participant issue list</a> issue in the <a href=https://github.com/KirstieJane/friendly-github-intro/>friendly-github-intro</a> workshop repository. Then, either sit back and wait for someone to make that change for you, or go and see if you can help someone else move their project along.
</p>

<h2 id="step-by-step">My first pull request: Step by step</h2>
<ol class="steps">
<!-- Step 0 -->
<li>
<h1>Find the repo</h1>
<p>
Follow this link: <a href=https://github.com/KirstieJane/friendly-github-intro target="_blank">https://github.com/KirstieJane/friendly-github-intro</a>
</p>

<img src="../../assets/images-slides/my-first-pr-find-repo.png" />

</li>

<li>
<h1>Sign in</h1>
<p>
Log into your github account.
</p>

<img src="../../assets/images-slides/my-first-pr-login1.png" />
<img src="../../assets/images-slides/my-first-pr-login2.png" />
</li>
<li>
<h1>Fork the Repo</h1>
<p>
Make a copy of the repository all of your own.
</p>
<img src="../../assets/images-slides/my-first-pr-fork1.png" />
<img src="../../assets/images-slides/my-first-pr-fork2.png" />
</li>
<li>
<h1>Find & open the humans.md file</h1>
<p>
You're going to add your name to the humans.md file that lists all the contributors to this project.
</p>
<img src="../../assets/images-slides/my-first-pr-humans1.png" />
<img src="../../assets/images-slides/my-first-pr-humans2.png" />

<h3>HEADS UP: Common mistake!</h3>
<p>
If you see the error below, you're trying to <strong>edit the original version</strong> of the repository, not your own fork!

Go back to your home page by clicking on your avatar in the top right corner, click on your profiles, and you should see <strong>your own fork</strong> of the repository there!
</p>
<img src="../../assets/images-slides/my-first-pr-wrong-repo.png" />
</li>
<li>
<h1>Make a change & save the commit</h1>
<p>
Change some of the information for one of the test participants to your own details.
You might find this <a href=https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet>handy markdown guide</a> helpful.
<p>
<img src="../../assets/images-slides/my-first-pr-humans-edit.gif" />
</li>
<li>
<h1>Make a pull request</h1>
<p>
Now you're ready to ask the project owner to merge in your changes.

Click on the <strong>Pull Request</strong> tab and then on <strong>New Pull Request</strong>.
</p>
<img src="../../assets/images-slides/my-first-pr-new-pr1.png" />
<img src="../../assets/images-slides/my-first-pr-new-pr2.png" />
</li>

<li>
<h1>Wait for your pull request to be merged</h1>
<p>
Keep an eye on your notifications to see if the project owner has any questions.
</p>
<p>
If you've made a mistake, you might be asked to make further changes (but hopefully not!)
</p>
<p>
If all goes well, <strong>CONGRATULATIONS!</strong> You've just made your first pull request and worked collaboratively on GitHub!
</p>
</li>
</ol>

<h2 id="stretch-goal">Stretch goal: Pull requests for other projects</h2>
<p>
Try asking other members of the workshop to help you. Create a new issue and add a link to the <a href=https://github.com/KirstieJane/friendly-github-intro/issues/3>participant issue list</a> issue in the <a href=https://github.com/KirstieJane/friendly-github-intro/>friendly-github-intro</a> workshop repository. Then, while you wait for another participant to help you fix the issue, take a look to see if there are any you can help with.
</p>

<p>
Use the <strong>social features</strong> of GitHub as much as you can. If the issue isn't clear, <strong>ask</strong> for clarification. Be polite and as clear as possible whether you're the project owner or the contributor.
</p>

<p>
Remember that to make a contribution to someone else's project you'll have to <strong>fork</strong> their repository so you have your own copy. Check <a href=https://kirstiejane.github.io/friendly-github-intro/exercises/my-first-pullrequest/>my first pull request</a> exercise if you need any help with those steps.
</p>

<h2 id="glossary">Glossary</h2>
<section class="glossary">
<section class="term">
<h3>repository, or repo</h3>
<p>
a collection of documents related to your project, in which you create and save new code or content.
</p>
</section>
<section class="term">
<h3>markdown</h3>
<p>
a lightweight way of annotating a document with instructions that tell a web browser how to format and display text.
</p>
</section>
<section class="term">
<h3>version control</h3>
<p>
a way of tracking changes to a document or collection of documents. Version control is like a time machine, it can take you back to the moment your document was created, or any other point in time when you or a collaborator saved that document.
</p>
</section>
<section class="term">
<h3>Git</h3>
<p>
the command-line software that tracks all changes to a collection of documents
</p>
</section>
<section class="term">
<h3>GitHub</h3>
<p>
a service that hosts your repository online and helps you work with contributors. GitHub adds a web-based interface to version control.
</p>
</section>
<section class="term">
<h3>fork</h3>
<p>
a copy of a repository that is saved in another user's GitHub account.
</p>
</section>
<section class="term">
<h3>branch</h3>
<p>
a copy of a repo that is contained within the orignal repo. Branches are used to work on a project features without altering the original or "master" repo.
</p>
</section>
<section class="term">
<h3>commit</h3>
<p>
a saved change to a document in a repository.
</p>
</section>
<section class="term">
<h3>issue</h3>
<p>
a message on gitHub that outlines a task that needs to be completed.
</p>
</section>
<section class="term">
<h3>pull request</h3>
<p>
a request to add a commit or collection of commits to a repository.
</p>
</section>
<section class="term">
<h3>merge</h3>
<p>
the act of incorporating new changes (commits) into a repository.
</p>
</section>
</section>
</article>
</body>

</html>
Loading