Yes, this is an actual cookbook with recipes for delicious food. It is primarily used for git training.
This repo is a place you can practice Git commands and using GitHub without worrying about breaking anyone's code. It is also a place to practice or learn Markdown syntax.
To learn and practice basic Git commands, add a recipe to this cookbook. Do you have a favorite recipe for homemade bread that was passed down from your Grandma? If its not a family secret, you can share it here!
- Fork this repo. Click the Fork button on the GitHub page to make a copy of this repo to your local user account.
- Clone your repo to your local computer.
git clone <url-of-your-fork>
- Create a new branch
git branch add-Pancakes git checkout add-Pancakes
- Add a new file to the
recipes/
folder and update theindex.md
table of contents.cd recipes/ cp _template.md pancakes2.md # Edit pancakes2.md # Edit index.md to add link
- Stage and commit your changes.
# Stage Changes git add pancakes2.md # To add specific files git add -A # -or- add all untracked files # Commit changes git commit -m "added new pancake recipe"
- Push changes to GitHub.
git push origin add-Pancakes
- Make a Pull Request to merge your add-Pancakes branch to the main branch.
Here is a visual representation of what you have done. In this example, the repo owner "tagged" the merged pull request as a new release.
gitGraph
commit
commit
commit
branch add-Pancakes
checkout add-Pancakes
commit id: "new pancake recipe"
commit id: "update TOC"
checkout main
merge add-Pancakes
commit tag: "0.1.4"