General
Codebase

Cloning Repository

Learn how to get the code to your local machine and set up Git remotes.

Cloning the repository

Clone the repository:

Terminal
git clone -b monorepo/next-drizzle-authjs https://github.com/achromaticlabs/pro.gitcd pro

Remove origin remote

After cloning the repository, remove the origin remote:

Terminal
git remote rm origin

Add upstream remote

Add the upstream remote to pull updates from the original repository:

Terminal
git remote add upstream https://github.com/achromaticlabs/pro.git

Then configure the upstream in your current branch:

Terminal
git branch --set-upstream-to=upstream/monorepo/next-drizzle-authjs

Add your origin remote

Once you have your own repository set up, add it as the origin remote:

Terminal
git remote add origin <your-repository-ssh-or-https-url>

Staying up to date

To pull updates from the upstream repository, run:

Terminal
git pull upstream monorepo/next-drizzle-authjs

For more details, check Update Stream.