Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
66f5db3
Fix clone your fork section
rferri-gr8 Feb 8, 2016
7c17ea1
change username refs to your-username
rferri-gr8 Feb 8, 2016
70be2cb
prefx commands with $
rferri-gr8 Feb 8, 2016
ed3c66b
fix --vv
rferri-gr8 Feb 8, 2016
07aca4f
Move 'you are ready' paragraph before wait message
rferri-gr8 Feb 8, 2016
5bd3e58
adding info message about feature branch names
rferri-gr8 Feb 8, 2016
9cd5b8c
remove extra _
rferri-gr8 Feb 8, 2016
02318ab
remove extra _
rferri-gr8 Feb 8, 2016
4b74c81
fix markdown list formatting
rferri-gr8 Feb 8, 2016
6e817ee
fix typo
rferri-gr8 Feb 8, 2016
89aa882
cleaning up feature branches walkthrough
rferri-gr8 Feb 8, 2016
9c5d4ca
fix markdown list formatting
rferri-gr8 Feb 8, 2016
3238961
fix typo: teammmate
rferri-gr8 Feb 8, 2016
a752151
add instuction to run git log on teammate branch
rferri-gr8 Feb 8, 2016
fbc3135
Merge branch 'develop'
rferri-gr8 Feb 10, 2016
564c45c
Update walkthrough
rferri-gr8 May 5, 2017
af6dfba
Remove unneeded git checkout step
rferri-gr8 Jun 14, 2018
3b874ae
Correct missed source => origin remote rename
rferri-gr8 Jun 14, 2018
a995a37
Adding Madame Croque Feb Recipe
Mar 29, 2021
5feab80
Adding John Lemon Feb Recipe
mdzakri Mar 29, 2021
d295941
Adding Cuba Pudding Jr.'s Feb Recipe
Mar 29, 2021
0d65245
Adding Egg Benny's Feb Recipe
Mar 29, 2021
5a1fc0f
Merge pull request #1 from kenyeo999/egg-benny-feb
kenyeo999 Mar 29, 2021
53561d7
Merge pull request #2 from kenyeo999/cuba-pudding-jr-feb
Mar 29, 2021
3995da8
Merge pull request #3 from kenyeo999/madame-croque-feb
JTPE2021 Mar 29, 2021
91f85a7
Merge pull request #4 from kenyeo999/master
mdzakri Mar 29, 2021
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Please leave this repository open in a browser tab so that you can follow along

## Next

Next we will walk through the process of creating a Fork repository and setting up a local clone.
Next we will walk through the process of creating a GitHub Fork and local clone of this repository.

[Go](/walkthrough/1-setup.md)

Expand Down
8 changes: 4 additions & 4 deletions app/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ Welcome to _Flavor_, the only place on the planet where your taste buds won't be

### [Cuba Pudding Jr.](writer/cuba-pudding-jr.md) | cubapud@flavor.magazine

[Grilled Peach Salad](recipe/jan/grilled-peach-salad.md)
[Grilled Peach Salad](recipe/feb/oatmeal-pancakes.md)

### [Eggs Benny](writer/eggs-benny.md) | englishmuffin@flavor.magazine

[Vanilla Panna Cotta](recipe/jan/vanilla-panna-cotta.md)
[Egg Benny](recipe/feb/egg-benny.md)

### [John Lemon](writer/john-lemon.md) | zestmaster@flavor.magazine

[Homemade Sausages](recipe/jan/homemade-sausages.md)
[John Lemon](recipe/feb/john-lemon.md)

### [Madame Croque](writer/madame-croque.md) | mmecroque@flavor.magazine

[Chocolate Soup](recipe/jan/chocolate-soup.md)
[Roast Pork and Pickled Cucumber Sandwich](../recipe/feb/madame-croque-feb.md)
19 changes: 19 additions & 0 deletions app/recipe/feb/egg-benny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#Egg Benny

A short recipe description.

Source: https://example.com/link/to/original/recipe/

## Ingredients

- Egg
- Pine nuts
- dried cranberries
- Salt


# Instructions

1. Break off or trim the woody ends from the asparagus and discard. Set the spears aside.
2. Heat the olive oil in a skillet over medium heat. Stir in the pine nuts, cranberries, and salt. Cook and stir until the pine nuts start to look translucent, 5 to 6 minutes. Add the asparagus spears and cook, adding a little more olive oil if needed, until stalks are bright green and tender, about 5 to 8 minutes. Serve on a platter with the cranberries and nuts spooned over the top of the asparagus.

20 changes: 20 additions & 0 deletions app/recipe/feb/john-lemon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Candied Carrots

My family's favorite vegetable. They are great for the holidays, too!

Source: https://www.allrecipes.com/recipe/18241/candied-carrots/

## Ingredients

- 1 pound carrots, cut into 2 inch pieces
- 2 tablespoons butter, diced
- ¼ cup packed brown sugar
- 1 pinch salt
- 1 pinch ground black pepper


## Instructions

1. Place carrots in a pot of salted water. Bring water to a boil, reduce heat to a high simmer and cook about 20 to 30 minutes. Do not cook the carrots to a mushy stage!
2. Drain the carrots, reduce the heat to its lowest possible setting and return the carrots to the pan. Stir in butter, brown sugar, salt and pepper. Cook for about 3 to 5 minutes, until sugar is bubbly. Serve hot!

34 changes: 34 additions & 0 deletions app/recipe/feb/madame-croque-feb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Roast Pork and Pickled Cucumber Sandwich

The best roast pork you'll ever eat!

Source: https://www.realsimple.com/food-recipes/browse-all-recipes/roast-pork-sandwich

## Ingredients

- IngredientsIngredient Checklist

- 1 pound boneless pork loin

- ½ teaspoon cayenne pepper

kosher salt and black pepper

- 1 cucumber, thinly sliced

- 3 tablespoons cider vinegar

- 2 tablespoons olive oil

- 2 teaspoons brown sugar

- ⅓ cup mayonnaise

- 4 Portuguese rolls, split

# Instructions

1. Heat oven to 450° F. Season the pork with the cayenne and ¼ teaspoon salt. Roast on a rimmed baking sheet until an instant-read thermometer inserted in the center reaches 145° F, 20 to 25 minutes; thinly slice.
2. Meanwhile, combine the cucumber, vinegar, oil, brown sugar, and ¼ teaspoon each salt and black pepper in a medium bowl.
3. Divide the mayonnaise, pork, and cucumber among the rolls.

43 changes: 43 additions & 0 deletions app/recipe/feb/oatmeal-pancakes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Recipe Title

A short recipe description.

Source: https://www.allrecipes.com/recipe/228654/quick-oatmeal-pancakes/

## Ingredients

- 1 cup milk

- ⅔ cup quick-cooking oats

- ⅔ cup all-purpose flour

- 2 tablespoons brown sugar

- 1 ½ teaspoons baking powder

- ½ teaspoon salt

- ¼ teaspoon ground cinnamon

- 2 eggs

- 2 teaspoons butter, melted

- ½ teaspoon vanilla extract

- ¼ cup milk, or more as needed

- 2 teaspoons butter, or as needed


# Instructions

Step 1
Place 1 cup milk in a microwave-safe bowl; heat in microwave until bubbling, about 2 minutes. Stir in the oats.

Step 2
Mix flour, brown sugar, baking powder, salt, and cinnamon together in a bowl. Whisk eggs, 2 teaspoons melted butter, and vanilla extract together in a separate bowl; add 1/4 cup milk. Mix oat mixture and egg mixture with flour mixture; stir to combine.

Step 3
Heat 2 teaspoons butter on a griddle or skillet over medium heat; pour about 1/3 cup batter into the hot butter. Cook pancakes until bubbles appear on top layer, about 5 minutes. Flip and cook other side until evenly browned, about 5 more minutes.
2 changes: 2 additions & 0 deletions app/writer/cuba-pudding-jr.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
Recipe Picks:

- January: [Grilled Peach Salad](../recipe/jan/grilled-peach-salad.md)
- February: [Oatmeal Pancakes](../recipe/feb/oatmeal-pancakes.md)

2 changes: 2 additions & 0 deletions app/writer/eggs-benny.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
Recipe Picks:

- January: [Vanilla Panna Cotta](../recipe/jan/vanilla-panna-cotta.md)
- Febuary: [Egg Benny](../recipe/feb/egg-benny.md)

1 change: 1 addition & 0 deletions app/writer/john-lemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
Recipe Picks:

- January: [Homemade Sausages](../recipe/jan/homemade-sausages.md)
- Febuary: [John Lemon](../recipe/feb/john-lemon.md)
2 changes: 2 additions & 0 deletions app/writer/madame-croque.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
Recipe Picks:

- January: [Chocolate Soup](../recipe/jan/chocolate-soup.md)
- February: [Roast Pork and Pickled Cucumber Sandwich](../recipe/feb/madame-croque-feb.md)

103 changes: 47 additions & 56 deletions walkthrough/1-setup.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 1. Setup

In order to contribute to a GitHub project, you will need two things: a Fork of the project and a local clone of your Fork.
In order to contribute to a GitHub project, you will need two things: a GitHub Fork and a local clone of this project.

## :running: Activities

Expand All @@ -15,19 +15,22 @@ Fork the source repository:
1. Visit https://github.com/source-username/repository-name.
2. Click the "fork" button, and choose your personal GitHub account if prompted.

---

:cop: :raised_hand: - Please wait until everyone has caught up.

:construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction: :construction:

---

### 2 - Clone your Fork

__All Team Members__

Fork the source repository:
1. Visit https://github.com/source-username/repository-name.
2. Click the "fork" button, and choose your personal GitHub account if prompted.

Clone your fork to your local machine:
Clone this project to your local machine:
```sh
$ cd ~/my/parent/directory
$ git clone https://github.com/username/repository-name.git
$ git clone https://github.com/source-username/repository-name.git
# clone the fork repository from GitHub

$ cd repository-name
Expand All @@ -40,16 +43,16 @@ $ git remote
origin

$ git remote -v
origin https://github.com/username/repository-name.git (fetch)
origin https://github.com/username/repository-name.git (push)
origin https://github.com/source-username/repository-name.git (fetch)
origin https://github.com/source-username/repository-name.git (push)
```

You should see an `origin` remote that points to your GitHub fork:
You should see an `origin` remote that points to the source GitHub project:
```sh
$ git remote show origin
* remote origin
Fetch URL: https://github.com/username/repository-name.git
Push URL: https://github.com/username/repository-name.git
Fetch URL: https://github.com/source-username/repository-name.git
Push URL: https://github.com/source-username/repository-name.git
HEAD branch: master
Remote branches:
develop tracked
Expand Down Expand Up @@ -88,66 +91,54 @@ $ git branch -a

---

### 3 - Add Remote for Source Repository
### 3 - Add Remote for your GitHub Fork

__All Team Members__

Add a `source` remote:
Add a `me` remote:
```sh
$ git remote add source https://github.com/source-username/repository-name.git
# add the source remote
$ git remote add me https://github.com/your-username/repository-name.git
# add the me remote

$ git remote -v
origin https://github.com/username/repository-name.git (fetch)
origin https://github.com/username/repository-name.git (push)
source https://github.com/source-username/repository-name.git (fetch)
source https://github.com/source-username/repository-name.git (push)
origin https://github.com/source-username/repository-name.git (fetch)
origin https://github.com/source-username/repository-name.git (push)
me https://github.com/your-username/repository-name.git (fetch)
me https://github.com/your-username/repository-name.git (push)
```

You should see a `source` remote that points to the upstream GitHub source repository:
You should see a `me` remote that points to your GitHub Fork repository:
```sh
$ git remote show source
* remote origin
Fetch URL: https://github.com/source-username/repository-name.git
Push URL: https://github.com/source-username/repository-name.git
$ git remote show me
* remote me
Fetch URL: https://github.com/your-username/repository-name.git
Push URL: https://github.com/your-username/repository-name.git
HEAD branch: master
Remote branches:
develop new (next fetch will store in remotes/source)
master new (next fetch will store in remotes/source)
develop new (next fetch will store in remotes/me)
master new (next fetch will store in remotes/me)
Local ref configured for 'git push':
master pushes to master (up to date)
```

Maintainers will need to create branches and push directly to the source repository.

All team members will need to pull changes from the source repository and merge them into
their own branches.
All team members will need to pull changes from the source repository in order to branch from for feature branches.

Fetch branch data from the `source` remote:
Fetch branch data from the `origin` remote:
```sh
$ git fetch source
$ git fetch origin
From https://github.com/source-username/repository-name
* [new branch] develop -> source/develop
* [new branch] master -> source/master
* [new branch] develop -> origin/develop
* [new branch] master -> origin/master

$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/develop
remotes/origin/master
remotes/source/develop
remotes/source/master

$ git remote show source
* remote source
Fetch URL: https://github.com/source-username/repository-name.git
Push URL: https://github.com/source-username/repository-name.git
HEAD branch: master
Remote branches:
develop tracked
master tracked
Local ref configured for 'git push':
master pushes to master (up to date)
remotes/me/develop
remotes/me/master
```

---
Expand All @@ -164,19 +155,19 @@ __All Team Members__

By now you should have noticed that you do not have a local `develop` branch
```sh
git branch
$ git branch
* master
```

Create a `develop` branch that tracks from your GitHub fork's `develop` branch:
Create a `develop` branch that tracks from `origin`'s `develop` branch:
```sh
git branch develop origin/develop
$ git checkout -b develop --track origin/develop
Branch develop set up to track remote branch develop from origin
```

Notice that viewing the details for the `origin` remote indicates that the local `develop` and `master` branches are configured to push to and pull from your GitHub fork's branches:
Notice that viewing the details for the `origin` remote indicates that the local `develop` and `master` branches are configured to push to and pull from the source GitHub repository's branches:
```sh
git remote show origin
$ git remote show origin
...
Local branches configured for 'git pull':
develop merges with remote develop
Expand All @@ -188,11 +179,13 @@ git remote show origin

:bulb: The `-vv` flag for the `git branch` command will also show the remote branches that are tracked by your local branches (in brackets):
```sh
git branch --vv
develop 3e03a92 [origin/develop] Create example app
* master 3e03a92 [origin/master] Create example app
$ git branch -vv
* develop 3e03a92 [origin/develop] Create example app
master 3e03a92 [origin/master] Create example app
```

You should now be ready to move on to the rest of the walkthrough. If you'd like to see the repository you've created on your local machine in GitHub desktop, you can add a repository by choosing a local path.

---

:cop: :raised_hand: - Please wait until everyone has caught up.
Expand All @@ -201,8 +194,6 @@ git branch --vv

---

You should now be ready to move on to the rest of the walkthrough. If you'd like to see the repository you've created on your local machine in GitHub desktop, you can add a repository by choosing a local path.

## Next

Next we will walk through the process of creating feature branches, publishing changes to GitHub, and making a request to merge changes into the source repository using a Pull Request.
Expand Down
Loading