Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 30 additions & 6 deletions homework.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,48 @@

## 1. What is 2 + 2?

5
4

## 2. What is JavaScript?

An exciting new play about coffee.

* JavaScript is the Programming Language for the Web.

* JavaScript can update and change both HTML and CSS.

* JavaScript can calculate, manipulate and validate data.

## 3. What three problems does Git & GitHub solve?

When people want to show off code to each other they can put it on GitHub
Chaos and repetitive files.

* version1, version2, version3 etc.

* The solution for this is the control version, git tracks every single change in timeline, allowing you to travel in any previous state of your work without duplicating it.

Overwriting Work

* Avoiding conflicts overwriting others work, now each person can work individually and insolate without any conflict in between, if they are working in deferent code lines, git intelligently merges the changes or will alert if there is a specific conflict to resolve.

Centralized Collaboration

* Github host the code in the cloud, so any person can have access to the official version project and create new work to improve, change, adapt etc.


## 4. What happens when you `fork` a repository?

You delete it
A fork is a copy of a repository.

This is useful when you want to contribute to someone else's project or start your own project based on theirs.

fork is not a command in Git, but something offered in GitHub and other repository hosts.



## 5. What happens when you clone a repository?

It send it to a friend
After you clone a repository you are downloading the files and performing a complete initialization of a local workspace linked to a server.

## 6. What is a Pull Request?

When you send a file over the internet
It's a formal way to propose changes to a project.