-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prepare a lesson structure - still a long way to go
- Loading branch information
Showing
7 changed files
with
89 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copy and browse an existing project | ||
|
||
```{exercise} Browsing an existing project (20 min) | ||
- Make a copy to work on (fork repository) <https://github.com/coderefinery/recipe-book> | ||
- Browse commits and branches | ||
- Explore few things, take notes, and prepare questions | ||
- "grep": Which foods include a certain ingredient? | ||
- Annotate: Who has contributed to this recipe? | ||
At which commit did an ingredient get introduced or modified? | ||
- Contributors page: Who all has contributed? | ||
- How old is each recipe, and how many changes? (look at history) | ||
- When was each recipe last modified? (file browser) | ||
- Can you use these recipes yourself? (license) | ||
- Browse issues and pull requests, any idea what these might be good for? | ||
- Browse commit history: are commit messages understandable? | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Committing changes | ||
|
||
```{exercise} Practice creating commmits and branches (20 min) | ||
- create a branch and commit to it | ||
- maybe also commit to main | ||
- browse network | ||
- compare branches | ||
- compare commits | ||
- rename a branch | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Conflict resolution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Working locally on a Git repository | ||
|
||
- What is Git, and what is a Git repository? | ||
- Configuring Git command line and editor | ||
- Exercise: config/clone/commit/branch/graph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Merging changes and contribute to the project | ||
|
||
```{exercise} Merging branches with pull requests (20 min) | ||
- select from which to which | ||
- be careful about whether this is towards main on your copy or the repo where we forked from | ||
- browse network | ||
- optional: try also to send a PR towards the central repo (we merge few of those) | ||
- how to find out which branches are safe to delete? | ||
``` | ||
|
||
Demo: | ||
- conflict | ||
- delete branches | ||
- create release (or optional exercise step) | ||
|
||
Quiz: how to find out which branches are safe to delete? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters