Week 1 - Homework - Setup
Last updated
Last updated
This week, we'll set up the software and make sure everything is connected and ready to continue with the tutorial. Your task is to follow the instructions in this section in order, and make sure that all the commands here and in the linked parts of the tutorial have worked for you as expected.
Use the TODO list below to check that you didn't miss anything.
Make sure you have the #prerequisites above. Most likely you did all of that when we played with blabr
in one of the BLab meetings last year.
Do some extra git configuration - see Chapter 7 - Configuring git
Set your user name and your email to sign your git operations.
Set your default branch to "main".
Install SourceTree - see Chapter 8 - Install a git GUI Client
Check if you can communicate with GitHub via git (you probably already can) - seeChapter 9 - Connect to GitHub over https and Chapter 11 - Check GitHub Connection
Set up RStudio - see Chapter 12 - Connect RStudio to git and GitHub
Feel free to skip.
Read the first part of the chapter up to the "More about git config" section and then come back.
You might have already set up the default user name and email for git operations. Check with
If you did set them up earlier, you'd see something like this:
If the email is the email you use on GitHub, you don't need to do anything else. If it isn't, or nothing is printed at all, do follow the instructions in the tutorial on setting the name and the email.
Why SourceTree? GitKraken is great but it isn't free unless you work exclusively with public GitHub repositories. We do use private repositories in BLab so GitKraken is not an option. Plus SourceTree has a feature called split-view staging which is very useful for understanding the basics of how git works. (also, it is what Zhenya is used to working with)
No need to go to the tutorial.
You probably already did this when you Set up Git and GitHub. Run gh auth login
to check. Here is how it should go:
If you see anything else, go to Set up Git and GitHub and follow the gh auth login
instructions.
Skip
Follow the instructions in the tutorial but skip parts that refer to PAT. If you get any authentication errors, re-authenticate using the instructions in Set up Git and GitHub, not the ones in the tutorial.
Follow as is.
If you've had no issues so far, skip them. If you did have issues, check it out but also slack the Git Support slack channel. It is totally fine if you then find an answer in the tutorial.
Follow the instructions in the section.
Read the chapter, then install . It will require you to set up a BitBucket account during the installation - do it, that is expected. Once installed, tell Zhenya to write instructions on configuring SourceTree.