1.9 KiB
title, description, url
| title | description | url |
|---|---|---|
| Cloning repository | Get the code to your local machine and start developing. | /docs/web/installation/clone |
Cloning repository
Ensure you have Git installed on your local machine before proceeding. You can download Git from [here](https://git-scm.com).Git clone
Clone the repository using the following command:
git clone git@github.com:turbostarter/core
By default, we're using SSH for all Git commands. If you don't have it configured, please refer to the official documentation to set it up.
Alternatively, you can use HTTPS to clone the repository:
git clone https://github.com/turbostarter/core
Another alternative could be to use the Github CLI or Github Desktop for Git operations.
Git remote
After cloning the repository, remove the original origin remote:
git remote rm origin
Add the upstream remote pointing to the original repository to pull updates:
git remote add upstream git@github.com:turbostarter/core
Once you have your own repository set up, add your repository as the origin:
git remote add origin <your-repository-url>
Staying up to date
To pull updates from the upstream repository, run the following command daily (preferably with your morning coffee ☕):
git pull upstream main
This ensures your repository stays up to date with the latest changes.
Check Updating codebase for more details on updating your codebase.