- collaborate on an existing repo using only the github website
- brief intro to command line
- start new repo locally and putting it on github
- practice collaboration on each other's repos
- collaborate on an existing repo using git locally
- start new repo locally and putting it on github
- practice collaboration on each other's repos
- lightning talks on advanced topics collected throughout
Check in when you arrive and let us know if you're comfortable with Git on Windows, and if you prefer students who already have command-line experience. The students without command-line experience will have a modified curriculum that will include an introduction to using the command-line.
As learners come in, we will help them with setup if needed and direct them to you. Get to know why they are interested in learning Git, what they do, and what they've heard about Git. Introduce yourself and why you use Git. Once you have about 5 learners, you can begin to lead them through the curriculum.
- ~ 0.5 hrs - 1.5 hrs
- a repo of recipes
- We will set up a clean repo when you arrive
- Add your group members as collaborators
will do this within the GitHub website
- Branching
- Commiting, and writing commit messages
- PRs
- Review, diffing and merging
- Master branch
- Issues
- Merge conflict
- Resolved by mentor while showing learners
will do this in the command line
All of the above plus
- Local vs. remote
- Cloning
- Git checkout/branching locally
- Staging files/git add
- Pushing
- Pulling
- ~ 0.5 hrs - 1.5 hrs
will be introduced to the command line
- What is it?
- Paths
- Commands
ls
mkdir
pwd
cd
git init
- Local vs remote
git push
will do this in the command line
All of the above
Pair up and practice the following:
- Cloning
- Forking
- How to add collaborators
- Resolving merge conflicts
Online and printed versions of a guide will be available. The guide will outline these steps generally and the explanation of concepts will be a conversation between you and your group. Along with the guide, we will have ideas for how you can explain certain concepts, and the initial repo ready for you to use with your group.
A whiteboard will be available for people to visit and write down topics/questions for a series of lightning talks at the end.
- not seeing any indication of password being typed at the command line
- explain that this is normal, and is done to protect the password
- copy and paste in git-bash on windows doesn't work as expected
- vi commit
- we'll avoid this by teaching
commit -m
- we'll avoid this by teaching
- having to log in all the time from the command line
- towards the end, you can help the learner set up an ssh key
- thinking
commit
is the same aspush
- we'll break up the two concepts by making a number of commits before pushing