Skip to main content

Use the CLI

Run the shipthing init command to help you get started with ShipThing as quickly as possible. This is the way we recommend:
Terminal
You will be prompted for the project name and package manager.
Terminal
This will create a new directory with your project name and clone the repo into it. It will run a setup script to install dependencies and copy .env files. You can read more about environment variables here.

Git clone

Clone the repository using the following command:
Terminal
If your SSH key isn’t set up, use HTTPS instead:
Terminal
Use HTTPS for all commands if not using SSHIf you are not using SSH, ensure you switch to HTTPS for all Git commands, not just the clone command.

Git remote

After cloning the repository, remove the original origin remote:
Terminal
Add the upstream remote pointing to the original repository to pull updates:
Terminal
Once you have your own repository set up, add your repository as the origin:
Terminal

Commit and push

After making changes to your project, you can commit and push them to your repository:
Terminal
and push them to your remote repository with:
Terminal
Check out the Git remote documentation for more information.