- Learn to learn.
- Describe researching information as an important skill for a junior developer.
- Explain how you go about researching a technical topic.
- Collaborate on a Git repository, researching the things you don't know how to do.
-
Find your pair. You'll work together.
-
You're going to collaborate on a document that lists your meals. One of you is Alice. The other is Bob.
-
Alice and Bob. Setup the global Git config on your computer:
- Set the email address to match the email on your GitHub account.
- Set the name to your real name.
-
Alice, on your computer, create a
meals
Git repository. Create a file calledbreakfast.txt
. Add what you had for breakfast today. Commit your changes. -
Alice, create a
meals
repository on GitHub. Push your local changes to the GitHub repository. -
Alice, add Bob as a collaborator on your
meals
GitHub repository. -
Bob, on your computer, clone (don't fork) Alice's
meals
repository. Add and commit what you had for breakfast tobreakfast.txt
. Push your changes to Alice'smeals
repository on GitHub. -
Alice and Bob, check you have a green contribution square for today on your GitHub profile page. (Bob needs to accept the collaboration invitation for his contribution to count.)
-
It's now the next day. Bob is working with a new pair partner. Bob and his new pair partner want to pick up where Bob and Alice left off the day before.
-
Bob, create a new
meals-2
repo on your GitHub account. -
Bob, change your local repository remote to point at your new
meals-2
repository. -
Bob, add what you plan to have for breakfast tomorrow and commit. Push your changes to your new
meals-2
repo. -
Bob, check your new commit is listed in the contributions on your GitHub profile page.
-
Create a branch. Make a change and commit it to the branch. Push the branch to your
meals-2
repo on GitHub. -
Merge the branch into master. Push your
master
changes the repo on GitHub.
We'll discuss the collaboration process, and the research process.