https://fivething.github.io/fivething-website/
- Fork the repository
- Then go to your repository and find Alt-f4-website
- Clone the repository
git clone https://github.com/{your username}/alt-f4-website.git
- Pull in project dependencies
npm install
- Host the app locally
npm run start
- If you list the configured remote repository you will only see your fork as origin:
git remote -v
origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
- Add a new remote upstream repository
git remote add upstream https://github.com/ALT-FOUR/alt-f4-website.git
- You can now see both the original repository and the fork
git remote -v
origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (fetch)
upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (push)
- Sync your fork
- Be sure your in the root of your project and also in the main branch
git checkout main
Switched to branch 'main'
- Now you have to fetch the changes from the original repo
git fetch upstream
- And merge the changes in your main branch
git merge upstream/main