Welcome to
ReDI School Munich - Spring 2021
What will you be able to do after finishing this course?
Creating and implementing beautiful designs
Making your website work on all devices
Making your application interactive
Visual Studio Code
Git & Github
For now we're done. We'll come back to Visual Studio Code at a later point toady.
What's the difference?
git init
C:\Users\redi-user\my-first-website> git init
Initialized empty Git repository in C:/Users/redi-user/my-first-website/.git/
C:\Users\redi-user\my-first-website>
C:\Users\redi-user\my-first-website> git init
Initialized empty Git repository in C:/Users/redi-user/my-first-website/.git/
C:\Users\redi-user\my-first-website> git remote add origin https://github.com/my-username/my-first-website.git
C:\Users\redi-user\my-first-website>
git remote add
creates the connection.C:\> git init
Cheat sheet with the most important git commands.
Create a new file called "index.html" in Visual Studio Code
We will dive deeper into HTML in the next lesson.
git status
git add
git commit
git push
When viewing your repository on Github now, you should see yor newly committed file "index.html"
C:\Users\redi-user\my-first-website> git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
index.html
nothing added to commit but untracked files present (use "git add" to track)
C:\Users\redi-user\my-first-website>
C:\Users\redi-user\my-first-website> git add index.html
C:\Users\redi-user\my-first-website> git status
On branch master
No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: index.html
C:\Users\redi-user\my-first-website>
C:\Users\redi-user\my-first-website> git commit -m 'initial commit'
[master (root-commit) c84dc34] initial commit
1 file changed, 10 insertions(+)
create mode 100644 index.html
C:\Users\redi-user\my-first-website>
C:\Users\redi-user\my-first-website> git push -u origin master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 8 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 986 bytes | 986.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
To github.com:redi-user/my-first-website.git
* [new branch] master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
C:\Users\redi-user\my-first-website>
All homework will be submitted into Github Classroom.
There, you will find the assignments as well as instructions on how to work with them.
git clone
creates a new directory and copies an existing repository into it.
C:\Users\redi-user> git clone https://github.com/ReDI-Munich-Frontend/fed1-homework-getting-started-redi-user.git
Cloning into 'fed1-homework-getting-started-redi-user'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 7 (delta 0), reused 7 (delta 0), pack-reused 0
Receiving objects: 100% (7/7), done.
C:\Users\redi-user> cd fed1-homework-getting-started-redi-user
C:\Users\redi-user\fed1-homework-getting-started-redi-user>
Create a HTML file similar to the one we created today.