This is the preparation for the "old style" presential classes (vs. flipped classroom).
Readings:
- What is version control: https://www.atlassian.com/git/tutorials/what-is-version-control (5 min)
- What is git: https://www.atlassian.com/git/tutorials/what-is-git (6 min)
Github:
- if you haven't created an account on github.com yet, please create it now :)
Git:
-
please install git before Sunday:
-
for mac users: running
brew install git
on the command line should work; -
for ubuntu people (or any debian based linux): run
sudo apt-get install git
on the command line -
for windows people: download Git for Windows here and install. Step by step instructions:
- execute the file you downloaded;
- on the
Information
screen, click next; - on the
Select Destination Location
screen, click next; - on the
Select Components
screen, click next without changing anything; - on the
Select Start Menu Folder
screen, click next; Choosing the default editor used by Git
, selectUse Vim
and click next;Adjusting the name of the initial branch in new git repositories
, selectLet Git decide
Adjusting your path environment
, selectUse Git from Git Bash only
and click next;Choosing HTTPS transport backend
, selectUse the OpenSSL library
and click next;Configuring the line ending conversions
, selectCheckout Windows-style, commit Unix-style line endings
and click next;Configuring the terminal emulator to use with Git Bash
, selectUse MinTTY
and click next;Choose the default behavior of "git pull"
, chooseDefault (fast-forward or merge)
Choose a credential helper
, chooseGit Credential Manager Core
Configuring extra options
, selectEnable file system caching
andEnable Git Credential manager
, click next;Configuring experimental options
, do not select any of them, and click install;- and you should be pretty much done :)
-
it is *very important that you do the following as well:
- configure git by following the instructions here;
- set up your ssh keys by following this video. The instructions on Github can be found here.
Optionally, if you are using Windows and want to use git bash on VSCode, check the instructions in the first answer here on how to do that. If you are using linux or macOS, it works right out of the box.
We'll be roughly following the materials here, in case you want to take a look: https://github.com/HackYourFuture-CPH/Git/blob/main/week1/review.md
Check the flipped classroom material here