Skip to content

completed notes from class 1, node ecosystem#9

Open
terishelton wants to merge 1 commit intopce-uw-jscript400:masterfrom
terishelton:master
Open

completed notes from class 1, node ecosystem#9
terishelton wants to merge 1 commit intopce-uw-jscript400:masterfrom
terishelton:master

Conversation

@terishelton
Copy link

No description provided.

* **Question:** What is the difference between forking and cloning a repository as opposed to just cloning a repository?

* **Your Answer:**
* **Your Answer:** When you fork a repository, it copies the repository to your GitHub account, you clone from your account, and you can work on it from there. You can then submit a pull request when you're done to possibly have it merged into the master. With a clone from the master, you do not have a connection in your GitHub account to the original, it's just a copy. You can't submit a pull request later on.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You actually can submit a pull request whether your Fork & Clone or just Clone!

* **Question:** What is `path` and where does it come from?

* **Your Answer:**
* **Your Answer:** Path is the full path to the file on your system. It's a built-in module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be more specific, path is a module that has methods that can give you a path to various files and folders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants