Forking and cloning edu tool for youtube project - Artmal/edu-tool-for-youtube GitHub Wiki

Acquire a copy of project's codebase. There are multiple methods of doing this; the following is the simplest method, and is based on GitHub's Fork A Repo feature.

  1. Fork project's repository by going to https://github.com/Artmal/edu-tool-for-youtube and clicking on the "Fork" button. This creates a copy of projects's repository in your own GitHub account.
  2. On your machine, open a command prompt or terminal window. Change to the directory that you want to project's codebase to be copied under.
  3. Clone your copy of project's repository with the command below (replace "YourUsername" with your GitHub username). This will copy project's code onto your machine, placing the repository into a new "edu-tool-for-youtube" directory under your current directory. git clone https://github.com/YourUsername/edu-tool-for-youtube.git
  4. Change into the "edu-tool-for-youtube" directory that was created by the above step: cd edu-tool-for-youtube. Remain in that directory for all future steps on this page.
  5. Configure Git to sync your fork with project's repository. git remote add upstream https://github.com/Artmal/edu-tool-for-youtube.git
  6. Verify that everything is set up properly by typing git remote -v which should produce output the same as the following but with your GitHub username in place:

origin https://github.com/YourUsername/edu-tool-for-youtube.git (fetch)

origin https://github.com/YourUsername/edu-tool-for-youtube.git (push)

upstream https://github.com/Artmal/edu-tool-for-youtube.git (fetch)

upstream https://github.com/Artmal/edu-tool-for-youtube.git (push)

After you have cloned project's repository, you will be in the developer branch by default. This is the correct branch to be in when installing edu-tool-for-youtube locally. You do not need to change to any other branches but if you do for any reason, you must switch back to the develop branch with git checkout developer before proceeding further with the installation. You can check which branch you are on with git branch (the branch with a star next to it is the branch you are currently on).